Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- span class="re5"> p_executeCode = {
- _codeBox = display displayCtrl 302;
- _returnBox = display displayCtrl 303;
- _targetSelector = display displayCtrl 104;
- _targetName = uiNameSpace getvariable "playerTarget";
- _code = ctrlText _codeBox;
- _curMode = ctrlText _targetSelector;
- switch (_curMode) do {
- case "Local": {
- ["Executed code locally"] spawn p_notification;
- _return = call compile _code;
- };
- case "Target": {
- };
- case "notTarget": {
- };
- case "Global": {
- };
- case "Server": {
- };
- };
- _returnBox ctrlSetText _return;
- hint format ["%1", _return];
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement