TextDraw per player
#1

hello

i want to create an weapon shop with clickable textdraw but its taking me too much arrays
i mean like in every piece of td i need to create another per player array and its taking too much PLACE

somenoe can advice me how to do in the best way?
(i know how to script it, the problem is that too much varaibles gives lags no?)

thanks for all helpers
Reply
#2

BUMP! why nobody help me?
Reply
#3

Use enum?
Reply
#4

look, i asked if there is another way to create player textdraws with takeing alot of variables
but if il use enum it will be the same as variable..

please tell me if there is another way to use player textdraws and dont use alot of variables..
Reply
#5

Try this out work awesome for me , https://sampforum.blast.hk/showthread.php?tid=387597
You can in game create textdraw clickable and save / add to your gamemode , hope i helped.
Reply
#6

Reuse textdraws. The shop consists of weapons right? So create textdraw for each weapon, but do not destroy the textdraw after you hide it from someone. Add some custom action after textdraw click, but still - you don't have to create identical textdraw for every player, just show it or hide it accordingly
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)