[Include] ShoPiks - Race Pickups
#1

Informations

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:

The system is very easy to use. You can add as many pickups as you want.

Video

If you want to see a video with them in action , here it is:

[ame]http://www.youtube.com/watch?v=OkAEImZGKqw[/ame]
Instalation

It'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!
Functions

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

Download

The download for this Include is here. Just click on the "download" image.

No mirrors please!
Credits

Well , I (ShOoBy aka Chitz) made the full script. No help/other includes/ideeas were needed.
Reply
#2

i like it good work
Reply
#3

Liked, but there is CreateChangeVeh INC
Reply
#4

There is already something like this ...
But i like this too the pickup markers are nice
Reply
#5

Interesting I'm gonna test this for my server
Reply
#6

nice work but are the pickups streamed ?
Reply
#7

Nice work.
Reply
#8

Thank you guys!

Quote:
Originally Posted by park4bmx
Посмотреть сообщение
nice work but are the pickups streamed ?
No but you can allways edit the Include depending on your streamer and modiffy the "CreatePickup" into "CreateDynamicPickup" or whatever streamer you use. Good luck!
Reply
#9

I don't actually understand why you are using your vChange function rather than using OnPlayerPickupPickup (Using Pickup type 14). If the pickup disappears with type 14, just destroy and recreate it.
Reply
#10

https://sampforum.blast.hk/showthread.php?tid=305807
Looks as an edit. I'm not accusing you, i'm just saying that it looks similar. xD
Good job anyway.
Best regards!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)