11.07.2010, 09:31
You have an event for it so why the timer ?
(Not real code, the names are wrong)
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.
(Not real code, the names are wrong)
pawn Код:
OnPlayerChangeInterior(.......)
{
switch (newinteriorid)
{
case 3, 7, 9 :
{
if (IsPlayerInRangeOfPoint(...............) ShowPlayerTextDraw(.......);
}
default: HidePlayerTextDraw(.......);
}
}