Replace a word in chat
#2

pawn Code:
public OnPlayerText(playerid, text[])
{              
    if(strcmp("hi", text, true) == 0)
    {
    // Code here..
    }
}
Think this should work?
Reply


Messages In This Thread
Replace a word in chat - by [NWA]Hannes - 09.06.2012, 18:30
Re: Replace a word in chat - by ryansheilds - 09.06.2012, 19:01
Re: Replace a word in chat - by [NWA]Hannes - 09.06.2012, 19:05
Re: Replace a word in chat - by ryansheilds - 09.06.2012, 19:14
Re: Replace a word in chat - by ReVo_ - 09.06.2012, 19:38
Re: Replace a word in chat - by Mauzen - 09.06.2012, 20:06
Re: Replace a word in chat - by [NWA]Hannes - 09.06.2012, 20:35
Re : Re: Replace a word in chat - by ricardo178 - 09.06.2012, 20:39
Re: Re : Re: Replace a word in chat - by [NWA]Hannes - 09.06.2012, 21:02

Forum Jump:


Users browsing this thread: 1 Guest(s)