for (i = 0; i < players.size; i++) { player_weapons = self GetWeaponsListPrimaries();
for( x = 0; x < player_weapons.size; x++ ) { self GiveMaxAmmo( player_weapons[x] ); } } }
Example of a proper argument set:
Code Snippet
Plaintext
trig ammo_trig(10000, 30);
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