Hello,
I would like to share something I made. I am new to samp scripting, so this is what I can do for now. This filterscript is called a dynamic airdrop or crate system; it depends on you, which will you name it. Without further ado, the mechanics of the game are:
Commands:
To fully understand the game, watch the video: video
Note that the video is old, and I have made some revisions for the code that is not shown in the video.
Small updates:
Here's the code: pastebin
Enjoy, and thank you.
I would like to share something I made. I am new to samp scripting, so this is what I can do for now. This filterscript is called a dynamic airdrop or crate system; it depends on you, which will you name it. Without further ado, the mechanics of the game are:
- The crate will land on the ground for 22 seconds, after the specified time, the player will have to use /findcrate to find the crate's location.
- A player will need to unlock the crate for 5 minutes to loot the crate.
- The player pick locking the crate will have to defend the container for 5 minutes.
- If the player died or left the area, the picklock will stop, and other players will have a chance to picklock it.
- The crate will self-destruct after 10 minutes even if it is empty.
Commands:
- /spawncrate - admin command; similar to the hunted event.
- /picklock(can be changed to /unlockcrate) - player command; to unlock the crate for 5 minutes.
- /opencrate - player command; to open the container and loot it.
To fully understand the game, watch the video: video
Note that the video is old, and I have made some revisions for the code that is not shown in the video.
Small updates:
- The crate will now destroy after 10 minutes of being unlocked.
- The text will change if the weapon crate is empty;
- Added light loot and heavy loot.
- Changed the crate's shade to darkish.
Here's the code: pastebin
Enjoy, and thank you.