Here's some code from one of my friend's menu's. Try not to get banned everyone!! :P
Get Code:
Code:
private ["_charID","_lastUpdate","_obj","_objID","_objUID"];
_obj = cursortarget;
if (!isNull _obj) then {
_charID = _obj getVariable ["CharacterID","0"];
_objID = _obj getVariable["ObjectID","0"];
_objUID = _obj getVariable["ObjectUID","0"];
_lastUpdate = _obj getVariable ["lastUpdate",time];
systemchat format["%1: charID: %2, objID: %3, objUID: %4, lastUpdate: %5",typeOF _obj,_charID,_objID,_objUID,_lastUpdate];
};
Create Vehicle Key
Code:
[]spawn {
systemChat ("Freddie's Hacks: Getting vehicle key");
_object = cursorTarget;
_fredcartarget = parseNumber(cursorTarget getVariable ['CharacterID', '0']);
_colors = ["Green", "Red", "Blue", "Yellow", "Black"];
_key = format["ItemKey%1%2", _colors select floor(_fredcartarget / 2500), (_fredcartarget - (floor(_fredcartarget / 2500) * 2500))];
[player,_key] call BIS_fnc_invAdd;
systemChat format["Freddie's Hacks: Got key from vehicle %1", (typeOf _object)];
};
And for some people who don't have this.. You need it xD it's a great script in my opinion :P
Give Money Script!!!
Code:
private["_BBccgcash","PVDZE_plr_Save","PVDZE_bank_Save"];
_BBccgcash = 250000;
_cash_m = "cashMoney";
_c_c_g = "ccgwealth";
////////////////////////////////////////////////
player setVariable["ccgwealth",_BBccgcash,true];
////////////////////////////////////////////////
player setVariable["wealth",_BBccgcash,true];
////////////////////////////////////////////////
player setVariable["headShots",_BBccgcash,true];
////////////////////////////////////////////////
player setVariable["cashMoney",_BBccgcash,true];
////////////////////////////////////////////////
PVDZE_plr_Save = [player,(magazines player),true,true];
////////////////////////////////////////////////
PVDZE_bank_Save = [player];
////////////////////////////////////////////////
systemChat format["[BB-Console]: Setting coin total to %1", _BBccgcash];
I know that is a messy script xD Sorry :P