Advertisement
AeogSonny

Untitled

Mar 19th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. Donator = ["76561198032316464","76561198009835920","76561198057059731"];
  2.  
  3. private _path = "SM_Paint\code";
  4. {
  5. _x params["_function","_client"];
  6. missionNamespace setVariable[_function, compileFinal format ["if !((getPlayerUID player) in %1) exitWith {}; %2",Donator,preprocessFileLineNumbers format["%1\%2.sqf",_path,_function]], true];
  7. } forEach
  8. [
  9. ["ExileServer_paint_network_updatePaint", false, "(getPlayerUID _this) in Donator"],
  10. ["SM_Paint_CalculateVehicleCost",true, "(getPlayerUID _this) in Donator"],
  11. ["SM_Paint_ChangeMode",true, "(getPlayerUID _this) in Donator"],
  12. ["SM_Paint_ConvertHexToRGB", true, "(getPlayerUID _this) in Donator"],
  13. ["SM_Paint_ConvertRGB", true, "(getPlayerUID _this) in Donator"],
  14. ["SM_Paint_Finish", true, "(getPlayerUID _this) in Donator"],
  15. ["SM_Paint_HideControls", true, "(getPlayerUID _this) in Donator"],
  16. ["SM_Paint_OnMouseButtonDown", true, "(getPlayerUID _this) in Donator"],
  17. ["SM_Paint_OnMouseButtonUp", true, "(getPlayerUID _this) in Donator"],
  18. ["SM_Paint_OnMouseMove", true, "(getPlayerUID _this) in Donator"],
  19. ["SM_Paint_Show", true, "(getPlayerUID _this) in Donator"],
  20. ["SM_Paint_ShowControls", true, "(getPlayerUID _this) in Donator"],
  21. ["SM_Paint_UpdateCamera", true, "(getPlayerUID _this) in Donator"],
  22. ["SM_Paint_UpdateTextures", true, "(getPlayerUID _this) in Donator"]
  23. ];
  24.  
  25. true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement