Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Only for red team
- //leave credit
- //richard danh, www.richarddanh.com made for 24th sts
- _tele = _this select 0; //location
- _unit = _this select 1; //caller
- _unit setPos (getPos (red_team));
- hint "Red Team";
- //Put unit to godmode
- _unit allowdamage false;
- hint "working";
- //Add Eventhandler
- _unit addMPEventHandler ["MPHit", {
- if (damage _unit > 0.8) then
- {
- _unit setdamage 0;
- hint "PRE-TELE";
- _unit setPos (getPos (out_team));
- hint "TELE";
- _unit setdamage 0;
- ;}];
Advertisement
Add Comment
Please, Sign In to add comment