17.07.2010, 05:29
I created a command to pull off adm
so that does not work
someone you see what's wrong?
so that does not work
someone you see what's wrong?
Код:
if (strcmp(cmd, "/removeadm", true)==0) { if (PlayerInfo[playerid][pAdmin] >= 1338) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD1, "USE: /removeadm [PlayerName]"); return 1; } new string3[64]; new playername3[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername3, sizeof(playername3)); format(string3, sizeof(string3), "users/%s.ini", playername3); dini_IntSet(string3,"AdminLevel",0); } return 1; }