Basic buyable max ammo script. Can only be used once. Has option function arguments to easily customize the trigger(Cost, wait time).
Script:
Example of a proper argument set:
The input "10000" represents the cost(zombie_cost), while the 30 represents the time(in seconds) before the trigger will allow the players to buy it again. Neither function arguments take a variable unless it is declared a number.
Last Edit: March 25, 2014, 01:20:17 am by daedra descent
lol you forgot to specify some things and the values inside the that runs like you should comment there that they only have to change those values to whatever they want and script will do the rest
Last Edit: March 25, 2014, 12:41:43 am by jjbradman
lol you forgot to specify some things and the values inside the that runs like you should comment there that they only have to change those values to whatever they want and script will do the rest
Added. Also added an explanation to first post to make it easier to understand. Hopefully it'll make a bit more sense.