Search Results
pawn Код: mysql_query(query, -1, -1, MySQLConnection);                mysql_store_result(MySQLConnection);                if(mysql_num_rows(MySQLConnection)>0)            ...
23
That's an advanced query you got there. Are you sure that you have checked if the query is succeded?
23
most likely you forgot pawn Код: mysql_store_result(); If it doesn't fix the problem, you might want to show us the code.
23
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 ...
32
Try GetPlayerKeys under OnPlayerUpdate. It works perfectly, but your code should work too.
32
You need to download libmysql.dll from the MySQL plugin's topic, and put it in the sa-mp's server direcory.
34
Same with MySQL plugin. Sometimes it crashes, sometimes it doesn't. pawn Code: mysql_free_result()
98
You might want to put it udner OnPlayerDisconnect or just use foreach() pawn Код: public OnGameModeExit(){    foreach(Player, playerid)    {        // code    }}
33
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)...
1,954
show the code, where the cases are right
21
cases starts from 0 not 1 case 0: case 1: case 2: etc..
21
Quote: Originally Posted by sabreman Thank you for telling me that, also this: pawn Код: PlayerInfo[playerid][activereport] = 1, PlayerInfo[playerid][reporttext] = tmp2, PlayerInfo[pla...
33
pawn Код: CMD:newbie(playerid, params[]){    new name[MAX_PLAYER_NAME], string[128];    GetPlayerName(playerid, name, sizeof(name));    if(PlayerInfo[playerid][pNMuted] == 1) return SendClie...
30
Scripting this would take weeks and you're just giving admin? LOL
70
Ignore them or delete new m; new ss;
52
pawn Код: if(!strcmp(cmdtext, "/newbie", true)){    new string[128], sendername[MAX_PLAYER_NAME], text[64];    GetPlayerName(playerid, sendername, sizeof(sendername));    format(string, size...
20
You can find it in sa-mp server package. Filterscripts-> ls_elevator
38
Yes. - Use GetObjectPos to get object pos. - Calculate the distance
35