04.08.2009, 17:00
I have this command:
how can i do that if my name is bla and i did the command (/savanna) it will change my name to dgfdsfsafd
how can i do a command that returns the player name (from dgfdsfsafd to bla)
tanks for helpers
pawn Код:
if(strcmp(cmd, "/savanna", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] < 5) return DenyMessage(playerid, 5);
new pastname;
pastname = GetPlayerName(playerid)
SendClientMessage(playerid, COLOR_WHITE, "%s<--дсееъд аъ щок бдцмзд! щок дзгщ деа",pastname);
SetPlayerName(playerid, Names[random(11)]);
return 1;
}
how can i do a command that returns the player name (from dgfdsfsafd to bla)
tanks for helpers