Noobie Question
#3

Quote:
Originally Posted by mavtias
pawn Код:
if (strcmp("/afk", cmdtext, true, 10) == 0)
    {
        new name[MAX_PLAYER_NAME], string[256];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "[AFK]%s.", name );
    SetPlayerName(playerid,string);
    format(string, sizeof(string), "%s is Afk,:(.", name );
    SendClientMessageToAll(GREEN,string);
    return 1;
    }
Try that?
Sorry,didnt work too,still nothing happens with the name
Reply


Messages In This Thread
Noobie Question - by [XST]O_x - 27.09.2009, 11:21
Re: Noobie Question - by Mike Garber - 27.09.2009, 11:27
Re: Noobie Question - by [XST]O_x - 27.09.2009, 11:32
Re: Noobie Question - by Mike Garber - 27.09.2009, 11:39
Re: Noobie Question - by Correlli - 27.09.2009, 11:44
Re: Noobie Question - by Tr1viUm - 27.09.2009, 11:48
Re: Noobie Question - by [XST]O_x - 27.09.2009, 11:57
Re: Noobie Question - by Mike Garber - 27.09.2009, 12:18
Re: Noobie Question - by [XST]O_x - 27.09.2009, 12:23
Re: Noobie Question - by [XST]O_x - 27.09.2009, 12:29

Forum Jump:


Users browsing this thread: 1 Guest(s)