Search Results
Yay, its awesome. Thank you Zeus_
3,755
Actually, zcmd commands are like functions. You define them like this: Код: public OnPlayerSpawn(playerid) { //code when player SPAWNS return 1; } CMD:day(playerid, params[]) //Your command...
109
._. I just wanted to know if there is something similar. Seems like no.
89
Yes I know... that is why I am asking for fstream, I am used to C++ stuff.
89
Is there anything similar to fstream (c++) in Pawn? I am really not in the mood to learn those massive file functions lol
89
I wrote wrong name in the prototype... Sorry again lol My function is a lot simpler and works properly: Код: public bool:CheckDriver(playerid) { return ( IsPlayerInAnyVehicle(GetPlayerVehicle...
79
I found it. Sorry
79
 abs
Well... I wanted to make my own function for absolute value and so I did... Now, the pawn compiler returned a warning saying: Код: F:\ZGM.pwn(169) : warning 213: tag mismatch Line 169 is the line...
83
I just want to know how to print some text (for example, SendClientMessage) to file I choose. And how to change your server's address to, lets say myserver.com . Thanks
55
First, I decided to expand my "random weather code" with a possibility for a player to disable it (Boolean parameter)... I got these: Код: C:\Users\Zeid\Desktop\SAMPSERVER\gamemodes\ZGM.pwn(337) :...
82
I don't know if it can be applied to multi player since that is single player mission with Torino (I guess) ...
193
I don't know if it is allowed, but sorry for double post ._. Anyway, decided to expand my "rand weather code" with a possibility for a player to disable it.. I got these: Код: C:\Users\Zeid\Deskto...
181
Quote: Originally Posted by doreto You are totally wrong SetTimer("name on timer",time in miliseconds,repeat); 1h dont have 10 000 miliseconds y u no read! " // I did say hour, but I...
181
Well.. I got this idea about weather changing every hour and I tried to realize it... The code compiles correctly, but it doesn't give me wanted results. Here is what I get ._. : Код: #include &l...
181
So, it is my blindness ._. Thanx!
83
When I compile I get the following errors: Код: C:\Users\Zeid\Desktop\SAMPSERVER\gamemodes\ZGM.pwn(67) : error 001: expected token: "}", but found "]" C:\Users\Zeid\Desktop\SAMPSERVER\gamemodes\ZG...
83