-
07-25-2009, 12:41 AM #1
- Join Date
- Jun 2007
- Posts
- 351
For Nikovk regarding Total Resistance
Add this to all civilians:
checkWeapons.sqfCode:this addAction ["Check Weapons", "checkWeapons.sqf", [], false, true, "", "side _this != civilian"];;
There is no code for directChat (there's directSay but thats not what you think it is) either way, only the person that uses the action will see the hint.Code:_gen = _this select 0; _caller = _this select 1; _id = _this select 2; _magazines = magazines _gen; hint format ["Primary Weapon: %1\n\nSecondary Weapon: %2\n\nMagazines: %3", primaryWeapon _gen, secondaryWeapon _gen, _magazines];
Then for joining... I would put this on the russian and guerrilla squad leaders
joinTeam.sqfCode:this addAction ["Join Team", "joinTeam.sqf", [], false, true, "", "side _this != side _target"];
Code:_gen = _this select 0; _caller = _this select 1; _id = _this select 2; [_caller] joinSilent group _gen;
---Bellicosity---

Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)



Reply With Quote

Bookmarks