SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 31/07/2011, 06:56 AM   #1
Th3Angel
Big Clucker
 
Join Date: Aug 2010
Posts: 101
Reputation: 0
Default [SOLVED]AddStaticVehicleEx

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

Last edited by Th3Angel; 02/08/2011 at 11:40 PM.
Th3Angel is offline  
Old 02/08/2011, 11:38 PM   #2
Th3Angel
Big Clucker
 
Join Date: Aug 2010
Posts: 101
Reputation: 0
Default Re: AddStaticVehicleEx

Problem solved. Nevermind
Th3Angel is offline  
Old 02/08/2011, 11:45 PM   #3
Sil3nc3d Gh0st
Little Clucker
 
Join Date: Jul 2011
Posts: 5
Reputation: 3
Default Re: AddStaticVehicleEx

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.
Sil3nc3d Gh0st is offline  
Old 03/08/2011, 12:49 AM   #4
MP2
Godfather
 
MP2's Avatar
 
Join Date: Jan 2011
Location: England
Posts: 6,233
Reputation: 1001
Default Re: AddStaticVehicleEx

He probably just over-looked something.
MP2 is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How Do I Add Nos To AddStaticVehicleEx HayZatic Help Archive 2 06/07/2011 07:42 PM
AddStaticVehicleEx JackYack13 Help Archive 2 21/05/2011 12:49 PM
Help me with AddStaticVehicleEx abrantley Help Archive 9 15/03/2011 06:11 AM
AddStaticVehicleEx ViruZZzZ_ChiLLL Help Archive 1 24/05/2010 06:29 AM
AddStaticVehicleEx Henrix Help Archive 4 20/02/2009 12:36 PM


All times are GMT. The time now is 05:52 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.