02.04.2010, 16:25
account[playerid][pColor] = strval(querystring);
is crashing my command. Any clues why?
Here's more of the code:
is crashing my command. Any clues why?
Here's more of the code:
pawn Код:
new resultline[64];
format(querystring,sizeof(querystring),"SELECT Email,Color,Level,Beta,Score,Cash,NOS,PMA,ClickMode,NoTele,Ads,DMTUT,X,Y,Z,A,I,Jailed,SAVEX,SAVEY,SAVEZ,SAVEA,SAVEINT FROM users WHERE Name = '%s' LIMIT 1",pName[playerid]);
mysql_query(querystring);
mysql_store_result();
mysql_fetch_row_format(resultline);
mysql_fetch_field_row(querystring,"Color");
account[playerid][pColor] = strval(querystring);