Command for XtremeAdmin in another script
#5

You can,but a little complex.
Here's example
Код:
//add in admin fs
forward func(playerid);
public func(playerid){
  return //player admin level
}
Код:
//add in your gm
stock func(playerid){
  return CallRemoteFunction("func","i",playerid);
}

//in OnPlayerCommandText
if(IsPlayerAdmin(playerid) && func(playerid) >= 9)
Have a nice day^^
Reply


Messages In This Thread
Command for XtremeAdmin in another script - by caldaia - 20.07.2009, 11:38
Re: Command for XtremeAdmin in another script - by James_Alex - 20.07.2009, 11:39
Re: Command for XtremeAdmin in another script - by caldaia - 20.07.2009, 11:47
Re: Command for XtremeAdmin in another script - by James_Alex - 20.07.2009, 11:49
Re: Command for XtremeAdmin in another script - by yezizhu - 20.07.2009, 11:59

Forum Jump:


Users browsing this thread: 2 Guest(s)