SendClientMessage won't display
#1

Hello,
maybe someone can look after this code. As the Title of this Thread says, the SendClientMessage won't show. I want to display 2x SendCliendMessage, for if false, and if true. I know, i forgot here something, but it seems everything okey.

Код HTML:
if( newkeys == KEY_SECONDARY_ATTACK )
{
    if( IsPlayerInRangeOfPoint( playerid, 2.0, 24.2823,17.6228,45.3920) )
    {
        if (playerDB[playerid][worker] == 0) // False
        {  
            SetPlayerPos( playerid,-18.9894,-91.7774,35.1484);
            SetPlayerInterior( playerid, 0 ); 
            SendClientMessage(playerid, ORANGE, "You can't get in. Get a Job!"); // This SendClientMessage won't show
            return 1;
        }
    SetPlayerPos( playerid,-11.9894,-97.7774,35.1484);
    SetPlayerInterior( playerid, 0 ); 
    SendClientMessage(playerid, ORANGE, "Welcome.");
    return 1;
    }
}
Thanks.
Reply


Messages In This Thread
SendClientMessage won't display - by NBass - 17.03.2017, 21:55
Re: SendClientMessage won't display - by Toroi - 17.03.2017, 22:00
Re: SendClientMessage won't display - by NBass - 17.03.2017, 22:16
Re: SendClientMessage won't display - by Toroi - 17.03.2017, 22:20
Re: SendClientMessage won't display - by NBass - 17.03.2017, 23:00

Forum Jump:


Users browsing this thread: 1 Guest(s)