20.02.2008, 18:41
I got this idea from a similar event, ("pot of gold") on a couple of servers I used to play on. (Namely, "Oldschool freeroam" and Rks' server) I'm using it on my server which is currently in Beta.
This script creates a pickup which gives the player money- how much is up to you. The pickup shows up on the radar (if player is close enough) as a red flag. I've tested it pretty thoroughly and I'm relatively certain there are no mistakes or bugs, but if there are, please report them to me.
Please keep the credits text there.
Version 2.0 is out!
New in this version:
New in this version:
This corrects a nasty server crash on pickups- download and substitute asap...
Remember to change the admin password, which is a new feature in 3.2!
New in this version:
I hope you enjoy it, find it useful, and keep my credits in the script.
And, as usual, if you find any bugs, puh-lease report them here!
Downloads
"Official" site - all versions. Latest: 3.2
This script creates a pickup which gives the player money- how much is up to you. The pickup shows up on the radar (if player is close enough) as a red flag. I've tested it pretty thoroughly and I'm relatively certain there are no mistakes or bugs, but if there are, please report them to me.
Please keep the credits text there.
Version 2.0 is out!
New in this version:
- Easier to add locations - It's a lot easier to add new locations now, especially locations you didn't write yourself- now there are no hardcoded constants in the location arrays
- Easier to modify - You can modify how much $$$ a player gets when he finds the flag. You can also customize the time delays between script start and first flag, adjust how long it's available, and how long it is until next time a flag shows up.
New in this version:
- Option for random money - You can specify a lower and upper boundary, and the player gets a random amount of money
- Improved randomness - I made a Randomize() function that calculates a random number of random values that is called on FSInit(), this will ensure that you get random locations.
This corrects a nasty server crash on pickups- download and substitute asap...
Remember to change the admin password, which is a new feature in 3.2!
New in this version:
- Admin/debug interface - You can know where the flag is by using an admin command.
- Incredibly simplified addition of new locations - I made a command in the admin interface which saves your current coords and a comment of your choice to a file. When you are done adding it, you can open the file and copy-paste the contents directly into the script. After modifying MAX_SPOTS constant and recompiling, you are ready to go!
- Tutorial, credits and more in file
I hope you enjoy it, find it useful, and keep my credits in the script.
And, as usual, if you find any bugs, puh-lease report them here!
Downloads
"Official" site - all versions. Latest: 3.2