on player text issue
#9

pawn Код:
public OnPlayerText(playerid, text[])
{
    if(strcmp(PlayerInfo[playerid][LastTextSaid], text, true))
    {  
         SendClientMessage(playerid, COLOR_RED, "YOU CANNOT SEND DUPLICATE MESSAGES");  
         return 0;
    }
    else
    {
        SetPlayerChatBubble(playerid, text,COLOR_WHITE,30,10000);
        format(PlayerInfo[playerid][LastTextSaid], 128, text);
        SendClientMessage(playerid, COLOR_YELLOW, PlayerInfo[playerid][LastTextSaid]);
        return 0;
    }
}
Reply


Messages In This Thread
on player text issue - by jeffery30162 - 28.06.2014, 02:05
Re: on player text issue - by Jack_Leslie - 28.06.2014, 02:09
Re: on player text issue - by jeffery30162 - 28.06.2014, 02:18
Re: on player text issue - by Jack_Leslie - 28.06.2014, 02:20
Re: on player text issue - by jeffery30162 - 28.06.2014, 02:33
Re: on player text issue - by Jack_Leslie - 28.06.2014, 02:36
Re: on player text issue - by awsomedude - 28.06.2014, 02:37
Re: on player text issue - by jeffery30162 - 29.06.2014, 01:35
Re: on player text issue - by AroseKhanNiazi - 29.06.2014, 07:31

Forum Jump:


Users browsing this thread: 1 Guest(s)