08.05.2010, 13:09
Could anyone explain me how to do a thing like:
I got
hunter1 = addstaticveh...
hunter2 = addstaticveh...
when a player spawns , how to put him in the HUNTER1 or HUNTER2, ex: if hunter1 is already occupied by other guy it would put him in not occupied hunter2? i got about 20helicopters so, i get the point only doing like:
new inhunter1;
new inhunter2;
onplayerenterveh, inhunter1 = 1 and so on, then
onleaveveh inhunter1 = 0;
but that would just do more lines to my script, i think there is another way to do it easier? is it?
I got
hunter1 = addstaticveh...
hunter2 = addstaticveh...
when a player spawns , how to put him in the HUNTER1 or HUNTER2, ex: if hunter1 is already occupied by other guy it would put him in not occupied hunter2? i got about 20helicopters so, i get the point only doing like:
new inhunter1;
new inhunter2;
onplayerenterveh, inhunter1 = 1 and so on, then
onleaveveh inhunter1 = 0;
but that would just do more lines to my script, i think there is another way to do it easier? is it?