Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Кусок кода ACS
- script 900 OPEN
- {
- if(CheckInventory("KillCount")>1)
- {
- setfont("BigFont");
- hudmessagebold(s:"Kill count: ",d:CheckInventory("KillCount");HUDMSG_PLAIN,1,CR_RED,0.95,0.15,1.0,1.0);
- }
- if(CheckInventory("KillCount")==5000)
- {
- consolecommand("kill monsters");
- }
- Delay(1);
- restart;
- }
- script 901 (void)
- {
- SetActivatorToTarget(0);
- GiveInventory("KillCount",1);
- }
- // при смерти моба:
- ACS_Execute(901,0,0,0,0)
- // Сам инвентарь
- Actor KillCount : Inventory
- {
- Inventory.MaxAmount 5000
- }
- // У ВСЕХ КЛАССОВ
- Player.StartItem "KillCount", 1
Advertisement
Add Comment
Please, Sign In to add comment