Search Results
pawn Код: mysql_query(query, -1, -1, MySQLConnection);                mysql_store_result(MySQLConnection);                if(mysql_num_rows(MySQLConnection)>0)            ...
104
That's an advanced query you got there. Are you sure that you have checked if the query is succeded?
104
most likely you forgot pawn Код: mysql_store_result(); If it doesn't fix the problem, you might want to show us the code.
104
It should work when player is freezed. In my script it works. I think the problem is somewhere else in the script Try the code without freezing the player and see if it works i do it like this pawn ...
180
Try GetPlayerKeys under OnPlayerUpdate. It works perfectly, but your code should work too.
180
You need to download libmysql.dll from the MySQL plugin's topic, and put it in the sa-mp's server direcory.
117
Same with MySQL plugin. Sometimes it crashes, sometimes it doesn't. pawn Code: mysql_free_result()
268
You might want to put it udner OnPlayerDisconnect or just use foreach() pawn Код: public OnGameModeExit(){    foreach(Player, playerid)    {        // code    }}
85
Hi, Can someone explain why this is needed and for what? I've looked the wiki and didn't find anything that explains what is this ( or i can't properly understand ,because my english is not very good)...
5,027
show the code, where the cases are right
170
cases starts from 0 not 1 case 0: case 1: case 2: etc..
170
Quote: Originally Posted by sabreman Thank you for telling me that, also this: pawn Код: PlayerInfo[playerid][activereport] = 1, PlayerInfo[playerid][reporttext] = tmp2, PlayerInfo[pla...
192
pawn Код: CMD:newbie(playerid, params[]){    new name[MAX_PLAYER_NAME], string[128];    GetPlayerName(playerid, name, sizeof(name));    if(PlayerInfo[playerid][pNMuted] == 1) return SendClie...
90
Scripting this would take weeks and you're just giving admin? LOL
452
Ignore them or delete new m; new ss;
222
pawn Код: if(!strcmp(cmdtext, "/newbie", true)){    new string[128], sendername[MAX_PLAYER_NAME], text[64];    GetPlayerName(playerid, sendername, sizeof(sendername));    format(string, size...
135
You can find it in sa-mp server package. Filterscripts-> ls_elevator
191
Yes. - Use GetObjectPos to get object pos. - Calculate the distance
117