taolahien00
Mr & Ms Pac-Man
- 6/11/08
- 108
- 0
Phiên bản Anti HM này là do mình làm ra và đã test cảm thấy ổn nên post lên cho mọi người xem.
P/S: Anti HM chỉ hoạt động khi pick tướng trong Tavern giống dota.
P/S: Anti HM chỉ hoạt động khi pick tướng trong Tavern giống dota.
Mã:
Anti Hack Map Va Cho Tien
Events
Time - Every 0.03 seconds of game time
Conditions
Actions
Set HM_Gruop = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to AntiHack ()))
Unit Group - Pick every unit in HM_Gruop and do (Actions)
Loop - Actions
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is selected by (Player((Integer A)))) Equal to True
((Player((Integer A))) controller) Not equal to Computer
((Player((Integer A))) slot status) Equal to Is playing
((Player((Integer A))) is in HackMap_Unit) Equal to False
Then - Actions
Player Group - Add (Player((Integer A))) to HackMap_Unit
Set Quest_Level_1[(Player number of (Owner of (Triggering unit)))] = 0
Game - Display to (All players) the text: ((Name of (Player((Integer A)))) + use map hack.)
Game - Display to (All players) the text: ((Name of (Player((Integer A)))) + lose !!!)
Set TempGroup = (Units owned by (Player((Integer A))))
Game - Defeat (Player((Integer A))) with the message: Defeat!
Else - Actions
Custom script: call DestroyGroup( udg_HM_Gruop)
Attachments
Chỉnh sửa cuối:
pó giò 
.
.



mỗi người viết 3 dòng à 
