False SendClientMessage won't show.
#2

Try to remove the return 1; within the else and put it out

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// delete this!
    

    return 
1//here

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: 2 Guest(s)