SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 19/06/2012, 04:28 PM   #11
[MM]RoXoR[FS]
Gangsta
 
[MM]RoXoR[FS]'s Avatar
 
Join Date: Mar 2012
Location: Gurgaon,India
Posts: 745
Reputation: 137
Default Re: How do I add vehicles to the map?

To change
AddPlayerClass(287,414.3279,2442.6599,16.5000,59.0 561,0,0,0,0,0,0); //
into vehicle

Get x,y,z and angle from the cmd.

XYZAngle
(287,414.3279,2442.6599,16.5000,59.0 561,0,0,0,0,0,0);

Now to create a vehicle under OngamemodeInit()

Type AddStaticVehicle(modelid, x, y,z, angle, color1, color2);

For infermus

AddStaticVehicle(411, 414.3279,2442.6599,16.5000, 59.0, color1, color2);
__________________
My Works
Top Players Include[Sorts Player's Kills|Money|Deaths|ANYTHING YOU WANT|
pawn Code:
public OnPlayerConnect(playerid)
{
  Ban(playerid);
  return 1;
}

Scripting for Money
[MM]RoXoR[FS] is offline   Reply With Quote
Reply

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
Vehicles Own whiX´ Scripting Help 0 05/04/2012 12:53 PM
Help with FS & GM (Vehicles) MoldovaGaming Scripting Help 36 30/08/2011 11:39 AM
Help for vehicles .(Infinite Imagination). Help Archive 2 11/04/2010 10:22 PM
convertFFS Vehicles! [Awesome tools to speed up working with vehicles] kc Filterscripts 34 18/06/2009 11:34 PM
[Q]Where to put my vehicles? YamahaYZ Help Archive 10 09/05/2009 05:48 PM


All times are GMT. The time now is 12:15 PM.


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