[FilterScript] Call Of Duty Care Package
#1



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.
Reply
#2

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.
Reply
#3

Great job!
Reply
#4

Quote:
Originally Posted by NewerthRoleplay
View Post
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
View Post
Great job!
Cheers.
Reply
#5

Great stuff. Will be useful for deatmatch servers and such
Reply
#6

Nice job
Reply
#7

nice
Reply
#8

Pretty nice for servers related to cod (beside the fact that only one can be spawned at a time).
Reply
#9

Quote:
Originally Posted by Joshua1
View Post
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!
Reply
#10

(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?
Reply
#11

Pretty nice work.
Reply
#12

lol thats awesome
Reply
#13

Quote:
Originally Posted by Inn0cent
View Post
Pretty nice work.
Quote:
Originally Posted by superman21
View Post
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
View Post
(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.
Reply
#14

Awesome!
Reply
#15

Amazing!
Reply
#16

Awesome man!! Love it alot! <3 D
Reply
#17

Quote:
Originally Posted by ZachKnoxx
View Post
Awesome!
Quote:
Originally Posted by Alex Magaсa
View Post
Amazing!
Quote:
Originally Posted by NameName
View Post
Awesome man!! Love it alot! <3 D
Thank you all for all the positive feedback
Reply
#18

Nice job.
Reply
#19

Nice...
Reply
#20

Quote:
Originally Posted by Team_PRO
View Post
Nice job.
Quote:
Originally Posted by TheDzGhost
View Post
Nice...
Thank you both!

Time to work on V3 ( Why version names start sounding like engine types? )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)