18.03.2012, 19:55
You mistakenly made pAdmin global:
You should put the "new pAdmin[MAX_PLAYERS];" inside your /makeadmin command, like you did with the other commands (right now it's global, which is causing all those errors).
pawn Код:
....
stock GetName(playerid)
{
new name[24];
GetPlayerName(playerid,name,sizeof(name));
return name;
}
new pAdmin[MAX_PLAYERS];//<----
CMD:makeadmin(playerid,params[])
....