text problem
#10

Quote:
Originally Posted by -The_Badger-
This is wrong
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    new cmd[128];
    new tmp[128];
    new idx;    if(AccountInfo[playerid][AdminLevel] >= 1)
    {
    GetPlayerName(playerid,name,sizeof name);
    format(txt,512,"%s: %s",name,text);
    SendClientMessageToAll(GREEN,txt);
    return 0;
    }
Why is it under OnPlayerCommandText?
i dunno so i move it to onplayertext?
Reply


Messages In This Thread
text problem - by p00p - 04.12.2009, 21:12
Re: text problem - by p00p - 04.12.2009, 21:45
Re: text problem - by Backwardsman97 - 04.12.2009, 21:48
Re: text problem - by p00p - 04.12.2009, 22:32
Re: text problem - by p00p - 04.12.2009, 22:54
Re: text problem - by p00p - 05.12.2009, 00:09
Re: text problem - by p00p - 05.12.2009, 14:15
Re: text problem - by p00p - 05.12.2009, 22:58
Re: text problem - by Badger(new) - 05.12.2009, 23:18
Re: text problem - by p00p - 05.12.2009, 23:29

Forum Jump:


Users browsing this thread: 2 Guest(s)