06.07.2009, 21:13
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
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;
}