Advertisement
Guest User

assassin real activate

a guest
May 2nd, 2014
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. if ((getPlayerUID player) in AdminList || (getPlayerUID player) in ModList) then {
  2.  
  3. if (isnil "tracker") then {tracker = true;};
  4.  
  5. if (tracker) then
  6. {
  7. []spawn
  8. {
  9. private["_veh", "_idx"];
  10. _idx = -1;
  11. while {alive player} do
  12. {
  13. if (_idx == -1) then
  14. {
  15. []execVM "admintools\KeyBindings\FunctionKeys.sqf";
  16. []execVM "admintools\KeyBindings\NumberKeys.sqf";
  17. _idx = (vehicle player) addaction [("<t color=""#585858"">" + ("Admin Menu") +"</t>"),"admintools\AdminToolsMain.sqf","",0,false,true,"",""];
  18. _veh = vehicle player;
  19. };
  20. if (_veh != vehicle player) then
  21. {
  22. _veh removeAction _idx;
  23. _idx = -1;
  24. };
  25. Sleep 2;
  26. };
  27. };
  28. tracker = false;
  29. };
  30. waituntil {!alive player ; sleep 2;};
  31. tracker = true;
  32. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement