Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "zcommon.acs"
- #library "teamammogiver"
- int acsToExecute[5];
- script 382 ENTER
- {
- int myTeam;
- int lastScript;
- int pln = PlayerNumber();
- while (PlayerInGame(pln) )
- {
- myTeam = PlayerTeam();
- if (acsToExecute[myTeam] != lastScript)
- {
- if (acsToExecute[myTeam] % 1000 != 0)
- {
- ACS_ExecuteAlways(acsToExecute[myTeam] % 1000, 0, myTeam, 0, 0);
- }
- lastScript = acsToExecute[myTeam];
- }
- Delay(1);
- }
- }
- script 383 (int whichTeam, int whichScript)
- {
- acsToExecute[whichTeam] = whichScript;
- }
- script 384 (int yourTeam)
- {
- GiveInventory("PlasmaRifle", 1);
- GiveInventory("Railgun", 1);
- GiveInventory("Backpack", 1);
- GiveInventory("Cell", 600);
- GiveInventory("Megasphere", 1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement