Forum Jump :

Author Message


Posts: 175

Level: Member

Country: il
Location: Tira
Occupation: Freelance Developer
Age: 20
In-game name: Marwan Mansour

#1 Posted at 2013-07-13 18:14        
i have looked for the admin reserved slot on google , found one on bistudio here,how do i get var name of any unit for this // GVAR(uid_reserved_slots) = ["alpha_1", "bravo_3"]; , like "delta_1" .

i_client.sqf :
// GVAR(reserved_slot) gives you the ability to add a reserved slot for admins
// if you don't log in when you've chosen the slot, you'll get kicked after ~20 once the intro ended
// default is no check, example: GVAR(reserved_slot) = "RESCUE";
GVAR(reserved_slot) = "";

// GVAR(uid_reserved_slots) and GVAR(uids_for_reserved_slots) gives you the possibility to limit a slot
// you have to add the var names of the units to GVAR(uid_reserved_slots) and in GVAR(uids_for_reserved_slots) the UIDs of valid players
// GVAR(uid_reserved_slots) = ["alpha_1", "bravo_3"];
// GVAR(uids_for_reserved_slots) = ["1234567", "7654321"];
GVAR(uid_reserved_slots) = [];
GVAR(uids_for_reserved_slots) = [];

any help would be greatly appreciated..

Author Message


Posts: 1547

Level: Member

Country: us
Location: Atlanta, GA
Occupation: IT
Age: 45
In-game name: kylania

#2 Posted at 2013-07-13 20:10        
I think it would be the "Name" field of the unit on the map.