Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,660
» Latest member: rodeon
» Forum threads: 2,347
» Forum posts: 12,288

Full Statistics

Online Users
There are currently 689 online users.
» 0 Member(s) | 686 Guest(s)
Bing, Baidu, Google

Latest Threads
How to Complete “Keeping ...
Forum: Questions and Suggestions
Last Post: rodeon
2 hours ago
» Replies: 0
» Views: 2
Ultimate Roleplay!!
Forum: Advertisements
Last Post: URP_Wrzosek
2025-11-03, 09:43 AM
» Replies: 2
» Views: 73
samp openmp scripts
Forum: German/Deutsch
Last Post: pauli
2025-11-01, 01:21 AM
» Replies: 0
» Views: 62
YGG-Reborn
Forum: Advertisements
Last Post: Mw10
2025-10-31, 08:12 AM
» Replies: 0
» Views: 66
[GameMode] Brasil Vida Id...
Forum: Portuguese/Portugu?s
Last Post: Brasil Vida Ideal
2025-10-31, 01:12 AM
» Replies: 0
» Views: 59
Grand Gang War (GGW)
Forum: Advertisements
Last Post: coladaciren
2025-10-30, 10:00 AM
» Replies: 0
» Views: 58
undefined symbol
Forum: Portuguese/Portugu?s
Last Post: leobradoks
2025-10-25, 08:58 PM
» Replies: 1
» Views: 1,628
SA:MP Custom Character Li...
Forum: General Discussions
Last Post: Dilshad
2025-10-22, 04:15 PM
» Replies: 0
» Views: 115
Anyone got old rp scripts...
Forum: General Discussions
Last Post: Bilal
2025-10-21, 01:02 PM
» Replies: 5
» Views: 5,354
Anyone has the SARP Gamem...
Forum: Gamemodes
Last Post: Bilal
2025-10-21, 12:59 PM
» Replies: 0
» Views: 180

 
  editing of vehicle handling
Posted by: Gargamelis - 2020-04-18, 03:21 PM - Forum: Questions and Suggestions - No Replies

Dobr? den, bude mo?n? zabr?nit manipulaci s manipulac? s vozidlem nebo pou?it? CLEO pro zmenu manipulace? V soucasn? dobe je skutecne nemo?n? odhalit podvodn?ky pomoc? modifikovan? manipulace a dok?zat jim to?


  Dynamic Rental Vehicles - SQLite (for beginners)
Posted by: Emmett - 2020-04-18, 11:10 AM - Forum: Filterscripts - Replies (2)

Dynamic Rental Vehicles - SQLite







This is a simple rental car system..



Download:?Github

Credits: Y-Less, maddinat0r, Slice, Southclaws, Incognito, urShadow

Images:

[Image: dBNeD7o.png]

[Image: eD06PZg.png]

[Image: vg0Bk2q.png]

[Image: jhCsyEd.png]


  Unicode and Emoji
Posted by: Unicode - 2020-04-17, 11:44 PM - Forum: Questions and Suggestions - Replies (2)

Hi. I want Unicode and Emoji support.


  Is it possible to make web server using pawn?
Posted by: xTunqki - 2020-04-17, 11:28 AM - Forum: Pawn Scripting - Replies (4)

I think pawn is simple scripting language, does it possible to make web server or game using it?


Smile San Andreas memes
Posted by: Jarnokai - 2020-04-16, 10:42 PM - Forum: Videos and Screenshots - Replies (2)

Of course we gotta have this thread



[Video: https://www.youtube.com/watch?v=MHem6JMzYiE]


  Multiple Language support
Posted by: Jimmy - 2020-04-16, 03:56 PM - Forum: Questions and Suggestions - Replies (3)

I know a lot of people?want multiple language support in Open.MP client. I'd say cuz it is open source, you should officially support another language besides Pawn like LUA..?


  Ability to connect an NPC to a defined player ID
Posted by: EvilShadeZ - 2020-04-16, 07:49 AM - Forum: Questions and Suggestions - Replies (4)

Being able to connect an NPC to a specific ID would help in terms of server development.?

Let's say my server has 100 player slots and I would like another 100 npc's, I would rather have them connected in slots 100-199 than being mixed in with regular players.



By having NPC's in higher slots, I can reduce Player Information array sizes to the appropriate size to only include players, meanwhile I could create NPC specific arrays that handle NPC-Specific?information.


  TESTING/DEBUGGING in open.mp
Posted by: Media - 2020-04-16, 01:14 AM - Forum: Development Updates - Replies (7)

What kinds of things are you looking forward to seeing with regard to script TESTING and DEBUGGING in open.mp?





Check out our new blog post for the inside info on how it works so far???????



???https://www.open.mp/blog/debugging


  Your thoughts on SAMP 0.3.DL compatibility
Posted by: Media - 2020-04-15, 02:15 AM - Forum: Development Updates - Replies (46)

Questions were asked recently about 0.3.DL compatibility with open.mp (thank you Manyula and dreftas for submitting these) and we were going to save this one for the Q&A, but thought it deserved its own thread as we would like?community input on this topic.

Will open.mp be compatible with 0.3.DL?
This is the discontinued release that included server-side custom models.

The answer is simple - if the majority?will use it then yes. If they?won't, then no.

We believe that SAMP 0.3.DL was discontinued because the big?servers in general?weren't using it, however, we also believe that the reason the big?servers weren't using it was because it was not officially supported by the SAMP dev team. So it was?a bit of a chicken-and-egg situation - it wasn't supported because no one was using it, but no one was using it because it wasn't supported.

So what do you guys want?

Is there enough community support for DL features?

Are you a server owner or developer who would only switch to open.mp if these features existed?

Please vote in the poll, and also leave a comment below with your opinions!

Don't forget you have a few more days to ask your burning questions about open.mp for our Q&A post!?https://www.burgershot.gg/showthread.php?tid=1035

[Image: qsebnEb5vsA.jpg]
image from gold?roleplay -?posted by user?Arsenka123 on the SAMP forum


  [Gu?a] Como crear comandos con ZCMD y sscanf2
Posted by: SKainer - 2020-04-15, 12:07 AM - Forum: Programaci?n - Replies (4)

[Presentaci?n]



?Hola a todos! Vengo aqu? a presentar otra gu?a creada por m? para algunos novatos iniciando en el mundo del Pawn.



[?Qu? es ZCMD]



ZCMD es un?procesador de comandos muy efectivo y r?pido usado por much?simos servidores para una mejor?optimizaci?n.



[?Qu? es sscanf2]





sscanf2 (Plugin) es un usualmente usado como?procesador de par?metros que trabaja muy bien de la mano de ZCMD.



[?C?mo usar ZCMD?]



ZCMD puede ser usado de las siguientes formas:



PHP Code:
zcmd(comandoplayeridparams[])

{

// C?digo

return 1;

}



CMD:comando(playeridparams[])

{

// C?digo

return 1;

}



COMMAND:comando(playeridparams[])

{

// C?digo

return 1;

}



command:comando(playeridparams[])

{

// C?digo

return 1;





Todas se escriben diferente, pero tienen el mismo resultado.



[Nota Importante] ZCMD no debe ir dentro de una funci?n o callback.



[Nota Importante] ZCMD siempre debe retornar verdadero (return 1) al final, como se muestra en los ejemplos o si no aparecer? el mensaje "Unknown Command" cuando se introduzca el comando.



Ejemplo de uso:



PHP Code:
CMD:mensaje(playeridparams[])

{

SendClientMessage(playerid, -1"Este es un mensaje");

return 
1;





Funciona como si fuera una funci?n, al menos as? lo veo yo.



Ahora, incluyamos a sscanf2 y por qu? va de la mano con ZCMD.



[?C?mo usar SSCANF2?]



La sint?xis de sscanf2 ser?a algo as?:



Code:
sscanf(const data[], const format[], ...)



const data[] = Ah? ir?a la data constante, es decir, la informaci?n constante que se introdujo, en este caso (ZCMD), usamos "params"

const format[] = Aqu? van los especificadores?(integers, floats, strings, etc) que se introducir?n en los par?metros.

... = aqu? se ponen las variables de los par?metros



PHP Code:
CMD:dardinero(playeridparams[])

{

? ?new 
idjugadordinero;

? ?if(!
sscanf(params"ud"idjugadordinero))

? ?{

? ? ? ?
GivePlayerMoney(idjugadordinero);

? ?}

? ?return 
1;





Ahora, ??Qu? acaba de pasar aqu??! Pasamos de ver sint?xis a un comando normal. Pues bueno, ahora explico qu? pasa.

Fijemonos en estas?l?neas:



PHP Code:
new idjugadordinero;

if(!
sscanf(params"ud"idjugadordinero)) 



As? se usa usualmente el sscanf. Efectivamente usamos una condicional para que suceda lo siguiente:

si los par?metros (params) son la id de un jugador y numeros?integer, retornaremos verdadero.

?Qu? es "ud"?

Son especificadores de datos, "u" ser?a la id de un jugador (o nombre) y "d" ser?a un integer.?

En "(params, "ud", idjugador, dinero)" podemos ver que tambi?n tenemos 2 variables (que creamos anteriormente) y ?qu? son? Pues son esos mismos datos especificados. Es decir, "u" es "idjugador"? y "d" es "dinero", osea, idjugador es la id de un jugador y dinero es un integer. Es un poco confuso pero es entendible, tambi?n podemos observar que puse "!sscanf", qu? es este operador?(!)? Lo usamos para que tome un valor contrario, ya veremos para qu?.

Entonces tenemos la funci?n?



Code:
GivePlayerMoney(playerid, money) // Funci?n por defecto



GivePlayerMoney(idjugador, dinero); // Reemplazamos nuestra ID (playerid) por la ID del jugador que elijamos en los par?metros, y (money) por "dinero", que ser?a la cantidad de dinero (Entero) que especificamos en los par?metros.



Imagina que tu jugador escribe:

/dardinero 6?1000?(6?ser?a la ID del jugador al que se le dar? dinero) (1000 es la cantidad de dinero que se le dar? a la id del jugador)



Todo eso suceder?a en un comando, s?lo usa tu imaginaci?n para crear todos los comandos y par?metros que desees.



Imagina que un jugador escribe /dardinero 6 d (El jugador escribe un string y no un integer, eso no har? nada)?

Ahora c?mo le decimos al jugador que los par?metros que est? poniendo son inv?lidos?

Pues atento a lo siguiente:



PHP Code:
CMD:dardinero(playeridparams[])

{

? ?new 
idjugadordinero;

? ?if(!
sscanf(params"ud"idjugadordinero))

? ?{

? ? ? ?
GivePlayerMoney(idjugadordinero);

? ?}

? ?else 
SendClientMessage(playerid, -1"Haz escrito mal el comando, usa /dardinero (id) (cantidad)");

? ?return 
1;





Con eso cu?ndo el jugador se equivoque de comandos retornar? el mensaje que pusimos, para que se d? cuenta que est? poniendo mal los par?metros indicados.



[Nota]?Tambi?n existe la funci?n "unformat" que viene con el sscanf2 por defecto, que act?a igual que la funci?n sscanf.



[Final]





Bueno, eso ha sido todo?lo que puedo aportar hasta ahora, si me equivoqu? en algo o expliqu? algo mal h?ganmelo saber.?



- SKainer