Command for XtremeAdmin in another script
#1

public OnPlayerCommandText(playerid, cmdtext[])
{

if (strcmp("/spawnmenu", cmdtext, true, 10) == 0)
{
if(IsPlayerAdmin(playerid))
{
ShowMenuForPlayer(MainMenu, playerid);
TogglePlayerControllable(playerid, false);

return 1;
}
else
{
return SendClientMessage(playerid, 0xAFAFAFAA, "* This command is only for administrators!");
}
}

THAT's my code...but work for the RCON Admins...
I want make that command for Lv9 XtremeAdmins...can someone gimme a hand??
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: 3 Guest(s)