Textdraw related warnings?
#3

Quote:
Originally Posted by [HiC]TheKiller
Посмотреть сообщение
If you're using textdraws per player then use https://sampwiki.blast.hk/wiki/CreatePlayerTextDraw and https://sampwiki.blast.hk/wiki/PlayerTextDrawShow. If it's just single player textdraws then make sure the
pawn Код:
Hinfo[h][HTextDraw]
is defined in the enum as a text by using the Text: identifier.
I want to show the textdraws just to players within a certain area ( With IsPlayerInRangeOfPoint. ) and I figured it should be possible with TextDrawShowForPlayer as you have to put in a playerid and textdraw. The textdraw is created on server startup and using the functions you told me would make the script creating a textdraw for every player once they enter that certain area and delete it after they leave the area, seems a little memory wasting for me but if I can't find any solution for this I guess I'll have to go with your way.

Best regards,
Jesse

EDIT:
Nevermind, I did text:HTextDraw instead of Text:HTextDraw. Typing mistake! Problem solved!
Reply


Messages In This Thread
Textdraw related warnings? - by jessejanssen - 23.12.2012, 21:53
Re: Textdraw related warnings? - by [HiC]TheKiller - 23.12.2012, 21:57
Re: Textdraw related warnings? - by jessejanssen - 23.12.2012, 22:02

Forum Jump:


Users browsing this thread: 1 Guest(s)