Player ID changer help
#1

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) 
Reply
#2

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

oh shit,I missed that thanks!
Reply


Forum Jump:


Users browsing this thread: