28.07.2012, 15:16
pawn Код:
//Top:
new Name[MAX_PLAYERS][MAX_PLAYER_NAME];
new bool:Changed[MAX_PLAYERS];
//Command
CMD:wolf(playerid,params[])
{
if(Changed[playerid] == false)
{
GetPlayerName(playerid,Name[playerid],24);
SetPlayerName(playerid,"Wolf");
Changed[playerid] = true;
return 1;
}
else
{
SetPlayerName(playerid,Name[playerid]);
Changed[playerid] = false;
return 1;
}
return 1;
}