[V2] Call Of Duty Care Package -
[WSF]ThA_Devil - 30.05.2014
This script is care package script similar to call of duty one. I made it because I haven't released anything in
sa-mp forums for a while. All this script does is spawns an object plane that flies over player's location, where flare
was created, and drops parachute with a bag. When it lands, it turns into a ammunition box that
has something in it. The care package can be picked up using ENTER / KEY_SECONDARY_ATTACK
More images: http://imgur.com/a/cwM4T
[ame]http://www.youtube.com/watch?v=NRhicQAvgwQ[/ame]
Features:
- Flare can be spawned anywhere using /carepackage
- Plane flies from random direction
- Rotating care package
- Pick up care package by pressing ENTER / KEY_SECONDARY_ATTACK
- Returns to callback: OnPlayerPickUpCarePackage(playerid,pickupid);
- Made it to be easy to add new carepackage items by editing an array!
- 1 Per player carepackage limit removed.
- Variable global limit.
- Care package despawns after time ( Default 2 minutes )
Bugs:
- None ( Except some stuff that I wouldn't count bugs )
- Plane can fly trough objects
- Carepackage
Credits:
Y_Less - foreach
Zeex - zcmd
Incognito - Streamer plugin
[Twixx] - Testing and Banner
EvilShadeZ aka [WSF]ThA_Devil - script.
Download v1:
http://pastebin.com/qXTRWcbL
Download v2:
http://pastebin.com/iUPKN1sd
Download v3: http://pastebin.com/M91bAPuk
Changelog:
Code:
v3:
Removed 1 care package per player limit.
Removed carepackage exploding when players quits
Added global limit ( 25 default )
Added care package despawn time
Feel free to use it and edit as you want. As there is no visible credits I cannot say, leave credits where they are, but it would be appreciated.
Re: Call Of Duty Care Package -
NewerthRoleplay - 30.05.2014
Care to share a video, actually seems pretty interesting..
Edit: You just added images..
That actually looks pretty awesome, I don't usually just put 'great job' to increase my post count.
Re: Call Of Duty Care Package -
iRaiDeN - 30.05.2014
Great job!
Re: Call Of Duty Care Package -
[WSF]ThA_Devil - 30.05.2014
Quote:
Originally Posted by NewerthRoleplay
Care to share a video, actually seems pretty interesting..
Edit: You just added images..
That actually looks pretty awesome, I don't usually just put 'great job' to increase my post count.
|
Thank you!
Neither do I. To be true I avoid short messages that seem to increase post count.
( Video coming soon )
Quote:
Originally Posted by iRaiDeN
Great job!
|
Cheers.
Re: Call Of Duty Care Package -
[Twixx] - 30.05.2014
Great stuff. Will be useful for deatmatch servers and such
Re: Call Of Duty Care Package -
Mckarlis - 30.05.2014
Nice job
Re: Call Of Duty Care Package -
Devil123 - 31.05.2014
nice
Re: Call Of Duty Care Package -
Joshua1 - 31.05.2014
Pretty nice for servers related to cod (beside the fact that only one can be spawned at a time).
Re: Call Of Duty Care Package -
[WSF]ThA_Devil - 31.05.2014
Quote:
Originally Posted by Joshua1
Pretty nice for servers related to cod (beside the fact that only one can be spawned at a time).
|
I think you misread it...
Quote:
Maximum of one care package per player is available, and a new can't be spawned until old is picked up.
|
It means, there can be multiple ones but not by the same player.
Player can't spawn another one until last one is not picked up
Version 2 Posted!
AW: Call Of Duty Care Package -
XrespenserX - 01.06.2014
(64): warning 202: number of arguments does not match definition
(70) : warning 202: number of arguments does not match definition
(87) : warning 202: number of arguments does not match definition
(97) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Are you getting these warnings too?
Re: Call Of Duty Care Package -
Inn0cent - 01.06.2014
Pretty nice work.
Re: Call Of Duty Care Package -
superman21 - 01.06.2014
lol thats awesome
Re: Call Of Duty Care Package -
[WSF]ThA_Devil - 01.06.2014
Quote:
Originally Posted by Inn0cent
Pretty nice work.
|
Quote:
Originally Posted by superman21
lol thats awesome
|
Thank you both.
I think I\'ll re-script it soon, so there is only maximum limit, rather than 1 per player.
Quote:
Originally Posted by XrespenserX
(64): warning 202: number of arguments does not match definition
(70) : warning 202: number of arguments does not match definition
(87) : warning 202: number of arguments does not match definition
(97) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Are you getting these warnings too?
|
No, I think you have wrong version of Incognito\'s streamer plugin include.
It did change CreateDynamicObject a little bit not that long ago.
Try updating incognito\'s plugin and include and re-compile it.
Re: Call Of Duty Care Package -
ZachKnoxx - 01.06.2014
Awesome!
Re: Call Of Duty Care Package -
Alex Magaсa - 01.06.2014
Amazing!
Re: Call Of Duty Care Package -
NameName - 01.06.2014
Awesome man!! Love it alot! <3

D
Re: Call Of Duty Care Package -
[WSF]ThA_Devil - 01.06.2014
Quote:
Originally Posted by ZachKnoxx
Awesome!
|
Quote:
Originally Posted by Alex Magaсa
Amazing! 
|
Quote:
Originally Posted by NameName
Awesome man!! Love it alot! <3  D
|
Thank you all for all the positive feedback
Re: Call Of Duty Care Package -
Team_PRO - 01.06.2014
Nice job.
Re : Call Of Duty Care Package -
TheDzGhost - 02.06.2014
Nice...
Re: Re : Call Of Duty Care Package -
[WSF]ThA_Devil - 02.06.2014
Quote:
Originally Posted by Team_PRO
Nice job.
|
Quote:
Originally Posted by TheDzGhost
Nice...
|
Thank you both!
Time to work on V3

( Why version names start sounding like engine types? )