SA-MP Forums Archive
AddStaticVehicleEx - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: AddStaticVehicleEx (/showthread.php?tid=273074)



[SOLVED]AddStaticVehicleEx - Th3Angel - 31.07.2011

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);



Re: AddStaticVehicleEx - Th3Angel - 02.08.2011

Problem solved. Nevermind


Re: AddStaticVehicleEx - Sil3nc3d Gh0st - 02.08.2011

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.


Re: AddStaticVehicleEx - MP2 - 03.08.2011

He probably just over-looked something.