Search Results
Quote:
Originally Posted by Misiur
http://forum.sa-mp.com/showpost.php?...33&postcount=3
Compare this to your function definition, add the missing tag and voilа
Ok, it worked. Now,...
180
Quote:
Originally Posted by Misiur
Damn, I'm quoting myself.
Take a look at this code:
pawn Код:
enum E_1 { beer, value1}enum E_2 { Float:waffle = 5, value1}prin...
180
Quote:
Originally Posted by Misiur
No, they don't
pawn Код:
stock MyFunction(playerid, MyEnum:value)
(MyEnum is strong tag in this case)
Error is about something else, you might have ...
180
Quote:
Originally Posted by SuperViper
Enums need to be defined by using
pawn Код:
new values[MyEnum];
Then you can use
pawn Код:
values[value1]
I know that, but the probl...
180
Hi, I'm making a function to simplify a little the code. But the function needs to send a value from an enum.
I'll explain with examples:
pawn Код:
enum MyEnum{ value1, value2, va...
180
Thanks for your reply but I tested it and don't works.
More suggests?
88
Hi All, I'm making a fuel system.
I have a "Fuel consumption" timer for all vehicles. When vehicle's fuel is out, it must stop the engine of this vehicle, but it stops all engines.
pawn Код:
pub...
88
De acuerdo, esperarй tu respuesta.
Gracias Miguel.
85
Mmmm pues veo que no me entendiste bien jeje. A ver, me explico mejor:
Al comprar el GPS se crea el archivo GPS.ini en la carpeta correspondiente a cada jugador
Asн quedarнa el archivo .ini despuй...
85
Buenas, estaba haciendo un sistema de GPS con Y_ini y me surgiу una duda al tener que cargar los destinos desde un archivo de texto.
Los destinos se guardarнan de la siguiente manera:
Код:
Enab...
85
Quizбs te sirva poniendo el comando, por ejemplo: /ponerbomba
Guardas tu posiciуn en una variable, te teletransportas a la tienda de los santos (previamente guardando la posicion del teleport) y con...
185
Hi all, I'm making a system which adds car parts to cars, for example, a spoiler. So each car have a different coordinates to attach the spoiler.
pawn Код:
CMD:spoiler(playerid,params[]){ i...
71
Hi, thanks for this nice tutorial.
Can you give me an example of benchmarking my gamemode full?
Thanks you.
2,416
Hi all, I'm making a script wich attach objects to vehicles, but I have a problem. Each vehicle have different coordinates to attach the objects. So I think should be a function that attach the object...
49
Please add
Код:
dfile_RenameDirectory(oldname [], newname []);
Thanks
1,187
Hi, I want calm the water with something, because I did an island and the waves flooded the objects.
I know that it's very difficult, but I hope there be some weather that calms the water or something...
131
Hi all, I'm using y_commands on my gamemode and I got these errors:
Код:
pawno\include\YSI/y_commands.inc(1008) : error 017: undefined symbol "__InitialiseFromGroups"
pawno\include\YSI/y_commands....
62
Significa que estas usando mбs celdas de las que debнas, y con ello tu servidor irб un poco lento...
146