Author Topic: [REL] Pickup Saving Script  (Read 3906 times)

Atheros

  • Newbie
  • *
  • Posts: 24
  • Karma: +4/-5
    • View Profile
[REL] Pickup Saving Script
« 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


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



Vortrex

  • Full Member
  • ***
  • Posts: 267
  • Karma: +54/-74
    • View Profile
Re: [REL] Pickup Saving Script
« Reply #1 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.

Atheros

  • Newbie
  • *
  • Posts: 24
  • Karma: +4/-5
    • View Profile
Re: [REL] Pickup Saving Script
« Reply #2 on: June 21, 2016, 03:21:20 pm »
i cant do it

im <- words to describe being bad at something -> in this xml thingy :(
« Last Edit: June 22, 2016, 03:35:00 pm by SugarD »

Vortrex

  • Full Member
  • ***
  • Posts: 267
  • Karma: +54/-74
    • View Profile
Re: [REL] Pickup Saving Script
« Reply #3 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.

 

© Liberty Unleashed Team.