onplayertext problem
#1

pawn Код:
public OnPlayerText(playerid, text[])
{
    if((strfind(text,"fuck",true,0))== 0){
    new name[24];
    new string[128];
    GetPlayerName(playerid,name,24);
    format(string, 256, "%s Is A Fool",name);
    SendClientMessageToAll(COLOR_GREEN,string);
    }
   
    return 1;
}
it works good , but it sends his message too , i don't want that
Reply


Messages In This Thread
onplayertext problem - by Serediucr - 13.07.2009, 12:10
Re: onplayertext problem - by Djiango - 13.07.2009, 12:13
Re: onplayertext problem - by Serediucr - 13.07.2009, 12:18
Re: onplayertext problem - by Gergo1352 - 13.07.2009, 12:22
Re: onplayertext problem - by MenaceX^ - 13.07.2009, 12:22
Re: onplayertext problem - by Serediucr - 13.07.2009, 12:46
Re: onplayertext problem - by Gergo1352 - 13.07.2009, 13:11
Re: onplayertext problem - by Serediucr - 13.07.2009, 13:21
Re: onplayertext problem - by Gergo1352 - 13.07.2009, 13:24
Re: onplayertext problem - by c0der. - 13.07.2009, 13:39

Forum Jump:


Users browsing this thread: 1 Guest(s)