OnPlayerText -> do an action at a word?
#4

Hello!

This have to be in OnPlayerText and then you can to undertake your action.
PHP код:
if(!strcmp(text,"hello",true))
{
    
SendClientMessage(playerid,-1,"You have to put in: hello");

- Mencent
Reply


Messages In This Thread
OnPlayerText -> do an action at a word? - by Rodri99 - 16.07.2015, 14:39
Re: OnPlayerText -> do an action at a word? - by notime - 16.07.2015, 14:39
Re: OnPlayerText -> do an action at a word? - by Rodri99 - 16.07.2015, 14:41
AW: OnPlayerText -> do an action at a word? - by Mencent - 16.07.2015, 14:43
Re: OnPlayerText -> do an action at a word? - by nezo2001 - 16.07.2015, 14:43
Re: OnPlayerText -> do an action at a word? - by lwilson - 16.07.2015, 14:44
AW: OnPlayerText -> do an action at a word? - by Mencent - 16.07.2015, 14:45
Re: OnPlayerText -> do an action at a word? - by Rodri99 - 16.07.2015, 14:52

Forum Jump:


Users browsing this thread: 1 Guest(s)