SA-MP Forums Archive
Player ID changer help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Player ID changer help (/showthread.php?tid=634433)



Player ID changer help - PowerF - 19.05.2017

so,I created a command for debugging actually,I want to change my pID which is id on MySQL

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;
} 
it's not working..
PHP код:
error 035: argument type mismatch (argument 1) 



Re: Player ID changer help - AbyssMorgan - 19.05.2017

Код:
CMD:pid(playerid, params[])



Re: Player ID changer help - PowerF - 19.05.2017

oh shit,I missed that thanks!