False SendClientMessage won't show.
#1

Hello,
any ideas why the SendClientMessage is not showing? It should be displayed when the Player is outside the Area.

PHP код:
if(IsPlayerInArea(playerid, -2079.122070, -270.203887, -2055.852294, -258.532623))
{
    new 
XareaYareaFloat:Zarea;
    
GetPlayerPos(playeridXareaYareaFloat:Zarea);
    if(
Xarea >= -2079.122070 && Xarea <= -270.203887 && Yarea >= -2055.852294 && Yarea <= -258.532623)
    {
        
SendClientMessage(playerid,BLUE,"* You're inside this Area."); // This shows normally, it works.
    
}
    else
    {
        
SendClientMessage(playerid,BLUE,"* You're outside this Area"); // This line isn't showing.
        
return 1;
    }

Did i miss something, like "return 1;" or something else?

Thanks.
Reply


Messages In This Thread
False SendClientMessage won't show. - by NBass - 28.04.2017, 20:26
Respuesta: False SendClientMessage won't show. - by Ertouq - 28.04.2017, 21:23
Re: False SendClientMessage won't show. - by NBass - 28.04.2017, 23:49
Re: False SendClientMessage won't show. - by Hansrutger - 29.04.2017, 00:07
Re: False SendClientMessage won't show. - by NBass - 29.04.2017, 00:14

Forum Jump:


Users browsing this thread: 1 Guest(s)