samp car id vs sql/enumerator id
#1

Hi guys!

In a nutshell, i have problems with indexing, as you know, sql/samp vehicle ids starts at 1, and array ids starts from 0. Thats OK, but....

How can i get the REAL, CORRECT array(enum maybe?) id from samp car id.

Any ideas, or something else solution?

Thanks!
Reply
#2

+1 and -1 on index?
I am not sure that I understood you clearly.
Reply
#3

ahh yes, i got it

enumid=sampvehid-1

Solved.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)