Little problem with textdraw
#2

try this?

pawn Код:
public OnPlayerUpdate(playerid)
{
    if(IsPlayerInRangeOfPoint(playerid, 130,1642.0690,-2241.6035,13.4940))
    {
        TextDrawShowForPlayer(playerid,safezone);
    }
    else if(!IsPlayerInRangeOfPoint(playerid, 155.0 ,1642.0690,-2241.6035,13.4940)) //remove this if no needed i think
    }//remove this if no needed i think
        TextDrawHideForPlayer(playerid,safezone);//remove this if no needed i think
    }//remove this if no needed i think
        return 1;
}

forward SafeZone(playerid);
public SafeZone(playerid)
{
    if(IsPlayerInRangeOfPoint(playerid, 155.0 ,1642.0690,-2241.6035,13.4940))
    {
        TextDrawShowForPlayer(playerid,safezone);
    }
    else if(!IsPlayerInRangeOfPoint(playerid, 155.0 ,1642.0690,-2241.6035,13.4940))
    {
        TextDrawHideForPlayer(playerid,safezone);
    }
    return 1;
}
Reply


Messages In This Thread
Little problem with textdraw - by prooftzm - 11.08.2014, 12:29
Re: Little problem with textdraw - by AzaMx - 11.08.2014, 12:47
Re: Little problem with textdraw - by SKAzini - 11.08.2014, 13:10
Re: Little problem with textdraw - by prooftzm - 11.08.2014, 13:46
Re: Little problem with textdraw - by Pottus - 11.08.2014, 13:50
Re: Little problem with textdraw - by AzaMx - 12.08.2014, 05:04

Forum Jump:


Users browsing this thread: 1 Guest(s)