15.07.2015, 10:42
(
Последний раз редактировалось TheRaGeLord; 16.07.2015 в 09:40.
)
TRL Treasure Hunt System
Link to New Version | Treasure Hunt v2.1 is Released
Hello guys, It's TRL Here. Today I've made a Treasure Hunt System. It's my 4th Filterscript. It uses sscanf2 and zcmd.
Features/Commands:
/ctreasure - Command for RCon Admins, It will create a Treasure.
every treasure has its own unique id.
/destroyt [Treasure ID] - Command for RCon Admins. It will delete the selected Treasure.
/destroyallt - Command for RCON Admins. This command will destroy all treasure that have been placed in the server.
When you will create a Treasure(By /ctreasure), A $$Dollar$$ Pickup would be made with a Label of its ID. As a Player Pick's it up (Crosses the Pickup) He will be rewarded with a random Treasure. You can easily delete a treasure by typing /destroyt You find the ID of Treasure attached to it. You can add more Prizes By Editing the script.
Currently the Prizes are:
$10,000
$5,000
Rocket Launcher with 50 Ammo
Minigun(Machine gun) with 100 Ammo
How to add more prizes?
Just edit the code below:
Add case "number":{
//prize here
}
Under Switch Function
Change the random(5) Value to the number of cases you have made.
Credit$:
TRL-Me
Zcmd
Sscanf2
Pastebin:
Click Me!
Link to New Version | Treasure Hunt v2.1 is Released
Hello guys, It's TRL Here. Today I've made a Treasure Hunt System. It's my 4th Filterscript. It uses sscanf2 and zcmd.
Features/Commands:
/ctreasure - Command for RCon Admins, It will create a Treasure.
every treasure has its own unique id.
/destroyt [Treasure ID] - Command for RCon Admins. It will delete the selected Treasure.
/destroyallt - Command for RCON Admins. This command will destroy all treasure that have been placed in the server.
When you will create a Treasure(By /ctreasure), A $$Dollar$$ Pickup would be made with a Label of its ID. As a Player Pick's it up (Crosses the Pickup) He will be rewarded with a random Treasure. You can easily delete a treasure by typing /destroyt You find the ID of Treasure attached to it. You can add more Prizes By Editing the script.
Currently the Prizes are:
$10,000
$5,000
Rocket Launcher with 50 Ammo
Minigun(Machine gun) with 100 Ammo
How to add more prizes?
Just edit the code below:
Add case "number":{
//prize here
}
Under Switch Function
Change the random(5) Value to the number of cases you have made.
Credit$:
TRL-Me
Zcmd
Sscanf2
Pastebin:
Click Me!