Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * StokesMagee's Resort
- * www.stokesmagee.net
- * © 2017 StokesMagee's Resort
- *
- * This work is property of StokesMagee. You do not have permissions to use/edit/distribute any of this content
- * without written permission from StokesMagee.
- */
- _donorUIDs = ["76561198032316464","76561198009835920","76561198057059731"];
- _functions = [
- ["ExileServer_paint_network_updatePaint", false, "(getPlayerUID _this) in _donorUIDs"],
- ["SM_Paint_CalculateVehicleCost",true, "(getPlayerUID _this) in _donorUIDs"],
- ["SM_Paint_ChangeMode",true, "(getPlayerUID _this) in _donorUIDs"],
- ["SM_Paint_ConvertHexToRGB", true, "(getPlayerUID _this) in _donorUIDs"],
- ["SM_Paint_ConvertRGB", true, "(getPlayerUID _this) in _donorUIDs"],
- ["SM_Paint_Finish", true, "(getPlayerUID _this) in _donorUIDs"],
- ["SM_Paint_HideControls", true, "(getPlayerUID _this) in _donorUIDs"],
- ["SM_Paint_OnMouseButtonDown", true, "(getPlayerUID _this) in _donorUIDs"],
- ["SM_Paint_OnMouseButtonUp", true, "(getPlayerUID _this) in _donorUIDs"],
- ["SM_Paint_OnMouseMove", true, "(getPlayerUID _this) in _donorUIDs"],
- ["SM_Paint_Show", true, "(getPlayerUID _this) in _donorUIDs"],
- ["SM_Paint_ShowControls", true, "(getPlayerUID _this) in _donorUIDs"],
- ["SM_Paint_UpdateCamera", true, "(getPlayerUID _this) in _donorUIDs"],
- ["SM_Paint_UpdateTextures", true, "(getPlayerUID _this) in _donorUIDs"]
- ];
- {
- _path = "SM_Paint\code";
- _x params["_function","_client"];
- missionNamespace setVariable [_function, compileFinal format ["if !((getPlayerUID player) in %1) exitWith {}; %2", _donorUIDs, preprocessFileLineNumbers format["%1\%2.sqf", _path, _function]], true];
- } forEach _functions
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement