SA-MP Forums Archive
[Include] ShoPiks - Race Pickups - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] ShoPiks - Race Pickups (/showthread.php?tid=316908)



ShoPiks - Race Pickups - ShOoBy - 09.02.2012

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: 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.


Re: ShoPiks - Race Pickups like in MTA - rati555 - 09.02.2012

i like it good work


Re: ShoPiks - Race Pickups like in MTA - _DownLoaD_ - 09.02.2012

Liked, but there is CreateChangeVeh INC


Re: ShoPiks - Race Pickups - Niko_boy - 09.02.2012

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


Re: ShoPiks - Race Pickups - Michael@Belgium - 10.02.2012

Interesting I'm gonna test this for my server


Re: ShoPiks - Race Pickups - park4bmx - 10.02.2012

nice work but are the pickups streamed ?


Re: ShoPiks - Race Pickups - iZN - 10.02.2012

Nice work.


Re: ShoPiks - Race Pickups - ShOoBy - 10.02.2012

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!


Re: ShoPiks - Race Pickups - [HiC]TheKiller - 10.02.2012

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.


Respuesta: ShoPiks - Race Pickups - [DOG]irinel1996 - 10.02.2012

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!