Advertisement
parabola949

Untitled

Nov 18th, 2014
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. if (inflamed cursorTarget and _canDo) then {
  2. if (isNil "BanditOil") then { BanditOil = 0;};
  3. if (BanditOil > 0) then {
  4. s_player_fuelauto = player addAction ["<t color='#ff0000'>Bandits have control of oil supply!</t>", "",[], 0, false, true, "",""];
  5. } else {
  6. if (s_player_dance < 0) then {
  7. s_player_dance = player addAction ["Dance","custom\dance.sqf",cursorTarget, 0, false, true, "",""];
  8. };
  9. };
  10. } else {
  11. player removeAction s_player_dance;
  12. s_player_dance = -1;
  13. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement