09.02.2012, 07:54
(
Последний раз редактировалось ShOoBy; 10.02.2012 в 11:07.
)

This is my Newest script guys. So basically my friends asked me to do it and i did it. It's a pickups system like the one in mta for those Derby DD/DM servers. There are 3 types of pickups like in MTA: Repair, Nitro and Vehicle. Here is a photo with an example of them:

Video
If you want to see a video with them in action , here it is:
[ame]http://www.youtube.com/watch?v=OkAEImZGKqw[/ame]
InstalationIt's very simple to install it. Just do this:
- Download the script and put it into pawno/include Folder
- In your script write "#include <ShoPiks>" at the top of the script
- In your OnGameModeInit() or OnFilterScriptInit() add "sStartPickups();"
- Compile your script!
The include has some functions . I will present them here:
Quote:
native sStartPickups() - Starts the Pickups and it must be added for the script to run properly! native sStopPickups() - Stops the Pickups native sCreateVehiclePickup(vModel,Float:X,Float:Y,Float:Z,VirtualWorld) Creates a vehicle pickup native sCreateNitroPickup(Float:X,Float:Y,Float:Z,VirtualWorld) - Creates a Nitro pickup native sCreateRepairPickup(Float:X,Float:Y,Float:Z,VirtualWorld) - Creates a Repair pickup native sDestroyPickup(PickupID) - Destroys a pickup native sDestroyAllPickups() - Destroys all the pickups native sCountPickups() - Counts the pickups |
The download for this Include is here. Just click on the "download" image.
Credits
Well , I (ShOoBy aka Chitz) made the full script. No help/other includes/ideeas were needed.