WhenPlayerTypes
#1

Whats the script for something like this


Once player types

Hello
Then a message shows
Hello how may i help you?
Reply
#2

pawn Код:
public OnPlayerText(playerid, text[])
{
    if(strcmp("help", text, true, 10))
    {
      SendClientMessage(playerid, 0x000000, "Yes??");
    }
    return 1;
}
untested, just copied from onplayercommandtext and edited it for onplayertext.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)