Search Results
This should work, pawn Код: stock IsSeatTaken(vehicleid, seatid){    for(new i = GetPlayerPoolSize(); i != -1; i--)    {        if(!IsPlayerConnected(i)) continue;        if(GetPlayerV...
71
Nobody have ever seen this problem before ? HTTP returns 1 but it doesn't call defined callback. It does happen sometimes and I don't know why.
79
Create a timer that checks once a second (or use an existing one) save current hour to a variable with gettime() then call your function if the hour is changed.
237
Hi, HTTP doesn't always call the defined callback. Does it cause a memory leak ? I'm curious about if the thread is still running or not, It doesn't call the callback sometimes, so does it mean thread...
79
Try this: pawn Код: if(!strcmp(name, ForbiddenNames[i][0], true))
64
Hi, This callback is called when a player teleports to another player with cheats. pawn Код: public OnPlayerWarpToPlayer(playerid, i){        return 1;} Include it in your gamemode then pas...
240
Code: [19:30:58] [debug] Server crashed while executing SFCRRPG.amx [19:30:58] [debug] Native backtrace: [19:30:58] [debug] #0 b734131b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so [19:30:5...
54
Quote: Originally Posted by Konstantinos pawn Код: stock HF_CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay){    new vehicleid = CreateVe...
147
Quote: Originally Posted by ****** What bugs? Have you reported them in the main topic - it shouldn't cause bugs itself. No I haven't reported. For example yesterday I included it to m...
142
Quote: Originally Posted by Konstantinos I think it's caused due to the bug with the high values passed to valstr function. https://sampwiki.blast.hk/wiki/Valstr Thank you. I think so....
142
Quote: Originally Posted by ****** Get fixes.inc then. It works now. Thank you. I was using fixes.inc before (old version) but I got some bugs (example: getplayerscore didn't work on On...
142
Quote: Originally Posted by ****** 1) You shouldn't be saving passwords like that - use a good hash, or better yet an existing user system like y_users. 2) Do you have fixes.inc? No I ...
142
Hi, I am using Centos 6.5 64 Bit final, and my server crashes when try to save "1553074413", ****** please try to save 1553074413 as integer. new INI:kayit = INI_Open("deneme.ini"); INI_WriteInt(ka...
142
Hi, Some people enters my server and write /changepass. When they write "-_;akasd-_;akasd-_;akasd-_;akasd-_;akasdasdL;;@#L,,llasdkxkad" this 3-4 times, server crashes. Function hashes this using udb...
54
Quote: Originally Posted by ****** The callback is called once for EVERY key in the file, in your case you must have (at least) 15 keys. I have another question ******, When I try to l...
170
Quote: Originally Posted by ****** The callback is called once for EVERY key in the file, in your case you must have (at least) 15 keys. Thank you so much ******. I posted it as an exam...
170
Quote: Originally Posted by biker122 Try to put pawn Код: SendClientMessage(playerid,COLOR_LIGHTBLUE,"Password loaded."); on CMD:load(playerid,params[]) It works but It still calls...
170
Quote: Originally Posted by Kiyozi_Mu I dont know what kind of problem is it. But try this: pawn Код: forward loadpass(playerid, name[], value[]);public loadpass(playerid, name[], val...
170