15.08.2014, 16:32
Hey guys i need help about this if you could give me some help thanks!! I just wanna make a /setrank wich would set the rank of the player to the amount you want! It is for an zombie server!!! Thanks
And im getting this error when i compile it
The error shows at the line : INI_WriteInt(File,"pRank", "s%");
Код:
CMD:setrank(playerid, params[]) { if(pInfo[playerid][pLogged] == 1) { if(pInfo[playerid][pAdminLevel] >= 2) { new INI:File = INI_Open(UserPath(playerid)); INI_WriteInt(File,"pRank", "s%"); return 1; } } else if(pInfo[playerid][pLogged] == 0) { SendClientMessage(playerid,-1,""chat""COL_LIGHTBLUE" You are not logged in!"); printf("%s has been kicked for trying to use a command without being logged in!", PlayerName(playerid)); Kick(playerid); } return 1; }
Код:
error 035: argument type mismatch (argument 3)