Monday, June 4, 2012

Vehicle Spawner


So we all know many Dialog based or command based vehicle spawn scripts are already available on forums around.
I too decided to work upon one but i thought would be useless.
Suddenly i realised of 0.3e and thought to try out new functions that are ->

  • SelectTextDraw
and
  • OnPlayerClickTextDraw


Preview : short picture..>


Usage:
  • /vehiclemenu - Main command that shows the list / menu
  • /destroycars - RCON Command to destroy all unocuppied spawned cars

Features:-
  • 0.3e based
  • Using ZCMD < i use it only >
  • Having latest features of TextDraws
  • Cool Presntation in script
  • 16 vehicles included in List
  • When player spawns new car it , Auto deletes the last spawned vehicle.
    [
    You can edit them by following way:
    -> Open Script goto OnPlayerClickTextDraw i.e. line 91
    -->Now you can see lines like SpawnCarForPlayer( playerid , 402 ); where the number 402 is vehicle ID
    and after } bracket it is mentioned CarNAME in this case it is Buffalo.
    --->Visit http://wiki.sa-mp.com/wiki/Vehicles:All , to see VehicleIDs with Names and replace Number 402 with vehicle ID and after ward replace //Buffalo with //NEW CAR Name , for future references.
    ]
  • meh, what else... JUST TRY IT your self

Notes:-

  1. Keep All Credits , do not mess much with script else it will get bugged.
  2. Feel free to edit stuff(s) <only if you kno what they are>
  3. No Mirror of Files, re-releasing is allowed


Credits:
SA-MP : For everything and new updates.
Zeex : for ZCMD
Myself : for working out with this script.
Zamaroht : for his TextDrawEditor script
ghosty : for Testing stuff(s) with me
Others : SAMP's IRC channel for few guidence. PAWNO and Notepad :P
Download Enjoy , Test , post Suggestion(s) and report any Bugs

Download v1.1(pastebin)
Mirror(s)
http://lh.rs/NSe6xw0UMtGm
http://www.mediafire.com/?3w1hk5poly6geyu
Bugs -> None

Update(s):

Code:
v1.0:  Initial Release
v1.1:  Fixed Destroy Vehicles!

Future Plans:
-> Code Optimization
-> More Vehicles and few stuffs

No comments:

Post a Comment