someproblem with the command
#1

I have this command:
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 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
Reply


Messages In This Thread
someproblem with the command - by nuriel8833 - 04.08.2009, 17:00
Re: someproblem with the command - by silvan - 04.08.2009, 17:39
Re: someproblem with the command - by nuriel8833 - 04.08.2009, 19:32
Re: someproblem with the command - by nuriel8833 - 05.08.2009, 16:11
Re: someproblem with the command - by Joe Staff - 05.08.2009, 16:15
Re: someproblem with the command - by Typhome - 05.08.2009, 16:15
Re: someproblem with the command - by nuriel8833 - 05.08.2009, 16:23
Re: someproblem with the command - by Woet - 05.08.2009, 18:01
Re: someproblem with the command - by nuriel8833 - 05.08.2009, 18:05
Re: someproblem with the command - by silvan - 18.08.2009, 22:31

Forum Jump:


Users browsing this thread: 1 Guest(s)