adminonly class
#2

Well, you could either check if the player's name is thekillaer, bears4life or lilsk8r, but than everyone could use the class. Why not check if the player is an real admin(rcon) with
pawn Код:
if(PlayerIsAdmin(playerid)
{
  //if player is admin
} else {
  //if player is NOT an admin
}
?

You can then only select those classes when you logged in via /rcon login <rcon_password>

I don't really know where you'd add that into your script, the "case 6:" kinda confuses me.
Reply


Messages In This Thread
adminonly class - by [SW]thekillaer - 07.04.2009, 02:22
Re: adminonly class - by Torekk - 07.04.2009, 02:47
Re: adminonly class - by s0nic - 07.04.2009, 02:54

Forum Jump:


Users browsing this thread: 1 Guest(s)