25.10.2017, 14:35
pls stop using this check in every command waste of time
if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to log in first.");
and also every query doesnt need to threaded
if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to log in first.");
and also every query doesnt need to threaded
PHP код:
new Cache:cq=mysql_query(SQL,s);
///
cache_delete(cq);
PHP код:
public OnPlayerCommandReceived(playerid,cmdtext[]){
if(!gPlayerLogged[playerid]){
SendClientMessage(playerid, COLOR_LIGHTRED, "You need to log in first.");
return 0;
}
return 1;
}