Liberty Unleashed

Scripting => Script Releases => Topic started by: Atheros on June 19, 2016, 08:10:59 am

Title: [REL] Pickup Saving Script
Post by: Atheros on June 19, 2016, 08:10:59 am
What is this?

This is a pickup saver script, example if you type /pickup m16, it will be saved to pickups.txt as ready function CreatePickup! very useful if you are making a deathmatch server.


Download:

http://pastebin.com/Q42Yrf5A (http://pastebin.com/Q42Yrf5A)


i did not specify all pickups there, i only did bat,pistol,uzi,shotgun,ak47,m16,sniper,heal,armour

You can add other pickups which i missed.

Have fun!

Credits:

append string to file - by ankris


Title: Re: [REL] Pickup Saving Script
Post by: Vortrex on June 21, 2016, 10:02:30 am
Very helpful.

I have a suggestion:
Make it save in a format for the content.xml file too.
Title: Re: [REL] Pickup Saving Script
Post by: Atheros on June 21, 2016, 03:21:20 pm
i cant do it

im <- words to describe being bad at something -> in this xml thingy :(
Title: Re: [REL] Pickup Saving Script
Post by: Vortrex on June 21, 2016, 10:03:13 pm
You could probably append an xml statement to the end of a file, like you did with the scripting method.