blanic 0 Posted November 1, 2010 How do you call another .PBO from the main mission? Like if I want to create a admin .pbo that only admins have and use. Share this post Link to post Share on other sites
Joshii 10 Posted November 2, 2010 .pbo? Don't you mean .sqf? Share this post Link to post Share on other sites
blanic 0 Posted November 6, 2010 no i mean a PBO for like an admin tool, where only the admins have this pbo Share this post Link to post Share on other sites
[aps]gnat 28 Posted November 6, 2010 Theres an "isServer" command, but cant say I've seen a "isAdmin" Share this post Link to post Share on other sites
Tankbuster 1747 Posted November 6, 2010 You can use this in its place. http://community.bistudio.com/wiki/serverCommandAvailable Share this post Link to post Share on other sites
nuxil 2 Posted November 6, 2010 (edited) i think there is a isAdmin in VBS2 but not in arma. however. you can check if you have admin rights by doing a check _HasAdminRights = serverCommandAvailable "#ban"; _isAdmin =false; if (_HasAdminRights) then {_isAdmin = true;}; altho there is no need for 2 variables to do this. its to make the example more clearly. and why do you want to create a new admin pbo ? there can be only 1 admins online at the time. unless you want to make some scrips that can switch camera in to players etc etc. but that again could be used to unfair gameplay. i have made 2 pbo's one for the server and one for the clients. altho. im not using the ingame admin controls. i made a BE client that speaks with the addon. but. i can not release this to the public at the moment. Edited November 6, 2010 by nuxil Share this post Link to post Share on other sites
Rabble-Rouser 10 Posted November 10, 2010 I am curious as to how this works out for you and Thanks to TankBuster Nuxil for the Info! Share this post Link to post Share on other sites