HELP: About OnPlayerText..
#1

Hi When I type aq in my server the server answers otomaticly 'Server:Bende senin aq' but it Spams when I do that.
I used Timer to look like a real player is typing. Anybody can Solve this problem

pawn Код:
forward Aq();
//////////////////////////////////////////////////////////////////////////////
public OnPlayerText(playerid, text[])
{

    if((strfind(text,"aq",true,0))== 0){
    SetTimer("Aq",1000,1);
    return 1;
    }
///////////////////////////////////////////////////////////////////////////////
public Aq()
{
    SendClientMessageToAll(0xFFFF00AA, "Server: Bende senin a.q");
    return 1;
}
Reply


Messages In This Thread
HELP: About OnPlayerText.. - by RyDeR` - 06.07.2009, 21:13
Re: HELP: About OnPlayerText.. - by refshal - 06.07.2009, 21:20
Re: HELP: About OnPlayerText.. - by RyDeR` - 06.07.2009, 21:23
Re: HELP: About OnPlayerText.. - by Correlli - 06.07.2009, 21:25

Forum Jump:


Users browsing this thread: 1 Guest(s)