AddStaticVehicleEx
#1

Hello, I've used an array to store the values AddStaticVehicleEx return. And when I print these values to the console, they both are 0. I'm not sure if the values are getting returned at all. Im using this method to get vehicle ID's between the two values stored.

pawn Код:
new Vehicles[2];

Vehicles[0] = AddStaticVehicleEx(470,-2502.20556641,-602.47650146,132.67251587,180.00000000,-1,-1,VRESPAWN_TIME);
AddStaticVehicleEx(417,-1306.00378418,495.38644409,20.27578163,272.00000000,-1,-1,VRESPAWN_TIME);
Vehicles[1] = AddStaticVehicleEx(584,-1349.00952148,455.68295288,8.34688568,90.00000000,-1,1,VRESPAWN_TIME);
Reply
#2

Problem solved. Nevermind
Reply
#3

Even if you have solved it, it can't hurt to post how. Some people will search the same thing, and can find the answer without having to post.
Reply
#4

He probably just over-looked something.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)