19.05.2017, 06:06
so,I created a command for debugging actually,I want to change my pID which is id on MySQL
it's not working..
PHP код:
CMD:pid(playerid, params)
{
new pidchanger;
if(sscanf(params, "i", pidchanger)) return SendClientMessage(playerid, COLOR_GREY3, "[Usage]: /pid [id]");
PlayerInfo[playerid][pID] = pidchanger;
return 1;
}
PHP код:
error 035: argument type mismatch (argument 1)