1
Armed Assault 2 / Arma free evo blue mod, Rank up script?
« on: July 17, 2013, 07:01:41 am »
Anyone knows how to do that? Adding score doesnt work.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Quotation = " blah "
Quotation in a quotation = "" blah ""
Quotation in a quotation in a quotation = """" blah """"
.. and so on. But I don't think that's what you wanted to know, having kind of a hard time trying to understand your problem.
_animName = _this select 1;
_animPerson = _this select 0;
_animClass = "";
if (_animPerson == "") exitwith { Hint "Some how there was an error check your scripts : or You need to select a name in the player list , if you wish to activate it on all players then click all players or select an indevidiual name to perform that action onto. then click EXECUTE.";};
if (_animPerson == "ALL PLAYERS") then {_animPerson = "";};
// -- -- ------------------------------//
switch (_animName) do
{
case "Add LSD": // Add LSD
{
_animClass ="['lsd',1] call INV_AddInventoryItem;"
};
};
//hint format ["%1 , %2 , %3",_animPerson,_animName,_animClass];
nil = [_animPerson, 11 ,_animClass] execVM "AJ\scripts\666.sqf";
case "Add lsd": // Add lsd
{
_animClass ="['lsd',1] call INV_AddInventoryItem;"
};
_animClass = ["lsd",1] call INV_AddInventoryitem;
TargetName = "playernamehere";
scode = format ['serverCommand "#kick %1";', TargetName];
player setVehicleInit scode;
processInitCommands;
clearVehicleInit player;
hint "The target player has been kicked!";
scode = nil;
TargetName = nil;