Jump to content
Sign in to follow this  
blanic

How to call another .pbo

Recommended Posts

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

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

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 by nuxil

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×