isplayerinarea + timer
#4

You have an event for it so why the timer ?

(Not real code, the names are wrong)

pawn Код:
OnPlayerChangeInterior(.......)
{
    switch (newinteriorid)
    {
        case 3, 7, 9 :
        {
            if (IsPlayerInRangeOfPoint(...............) ShowPlayerTextDraw(.......);
        }
        default: HidePlayerTextDraw(.......);
    }
}
You only need one global textdraw also as the text won't change, example: "you are prohibited from entering this area", always show the same message then no need to update it or whatever.
Reply


Messages In This Thread
isplayerinarea + timer - by aNdReSk - 11.07.2010, 06:31
Re: isplayerinarea + timer - by aNdReSk - 11.07.2010, 06:42
Re: isplayerinarea + timer - by Grim_ - 11.07.2010, 06:50
Re: isplayerinarea + timer - by Donny_k - 11.07.2010, 09:31
Re: isplayerinarea + timer - by Grim_ - 11.07.2010, 09:36
Re: isplayerinarea + timer - by Donny_k - 11.07.2010, 09:46
Re: isplayerinarea + timer - by aNdReSk - 11.07.2010, 22:18
Re: isplayerinarea + timer - by Donny_k - 12.07.2010, 09:53

Forum Jump:


Users browsing this thread: 2 Guest(s)