29.09.2012, 16:32
Код:
CMD:skill(playerid,params[]){ new pname[24]; new query[300]; GetPlayerName(playerid,pname,sizeof(pname)); PlayerInfo[playerid][pRobberskill]++; format(query, sizeof(query), "UPDATE `"playerdata"` SET `copsskill`='%i' WHERE `user`='%s'", PlayerInfo[playerid][pRobberskill], pname); mysql_query(query); return 1; }