Little help with TextDraw
#1

I want to make textdraws for my races, as check point count.

But I don't want to make that thing for each race one by one, but as public function. The problem is, I don't know how to get the max amount of CPs if I use new Float:bla bla [max][3]?

Thanks for help.
Reply
#2

try this https://sampforum.blast.hk/showthread.php?tid=117851
Reply
#3

Thank you. Will try
Reply
#4

That FS is useful, but thats not what I need
Reply
#5

If you dont know the amount of checkpoints who should the compiler ?

Just count them and adjust the array

or if you fill the array at creation with data just use []
Reply
#6

The problem was solved thanks to DiDok. I needed to use - sizeof.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)