Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- with uiNamespace do
- {
- ctrl = findDisplay 12 ctrlCreate ["RscButton", -1];
- ctrl ctrlSetPosition [0,0.0,0.2,0.1];
- ctrl ctrlSetText "ALL";
- ctrl ctrlCommit 0;
- ctrl ctrlAddEventHandler ["ButtonDown",
- {
- player allowdamage false;
- player addEventHandler ["Fired", { (_this select 0) setVehicleAmmo 1 }];
- player setUnitRecoilCoefficient 0;
- player setCustomAimCoef 0;
- onMapSingleClick "if (_alt) then {player setPosATL _pos}";
- player enablefatigue false;
- }];
- };
- with uiNamespace do
- {
- ctrl = findDisplay 12 ctrlCreate ["RscButton", -1];
- ctrl ctrlSetPosition [0,0.4,0.2,0.1];
- ctrl ctrlSetText "GOD";
- ctrl ctrlCommit 0;
- ctrl ctrlAddEventHandler ["ButtonDown",
- {
- player addAction ["- Kill Player/Object",{cursorTarget setDamage 1}];
- }];
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement