Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _command = (_this select 3)select 0;
- _model = (_this select 3)select 1;
- if (_command == "rating") then {
- player addrating -10000;
- _west = createcenter west;
- _wgroup = creategroup _west;
- [player] joinSilent grpNull;
- [player] joinsilent _wgroup;
- hintsilent format["RATING %1, SIDE %2",rating player, side player];
- };
- if (_command == "units") then {
- _this = createCenter east;
- _center_0 = _this;
- _group_1 = createGroup _center_0;
- _pos = getpos player;
- _unit_1 = objNull;
- if (true) then
- {
- _this = _group_1 createUnit ["TK_Soldier_AR_EP1", [(_pos select 0)+30,_pos select 1,0], [], 0, "CAN_COLLIDE"];
- _unit_1 = _this;
- _this setUnitAbility 0.60000002;
- if (true) then {_group_1 selectLeader _this;};
- };
- _unit_2 = objNull;
- if (true) then
- {
- _this = _group_1 createUnit ["TK_Soldier_AR_EP1", [(_pos select 0)+32,_pos select 1,0], [], 0, "CAN_COLLIDE"];
- _unit_2 = _this;
- _this setUnitAbility 0.60000002;
- if (false) then {_group_1 selectLeader _this;};
- };
- _group1 setCombatMode "YELLOW";
- _group1 setBehaviour "AWARE";
- hintsilent "2 EAST units were spawned 35m from you";
- };
- if (_command == "model") then {
- _model call player_switchModel;
- sleep 5;
- diag_log "**************";
- diag_log format["TEST: rating is %1, side is %2 and the skin is %3",rating player,side group player, _model];
- diag_log "**************";
- hintsilent format["Rating: %1, Side: %2 Skin: %3",rating player,side group player, _model];
- execvm "addactions.sqf";
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement