18.03.2012, 06:24
If players are to create accounts for your server,
add something like this into your enum:
this would determine whether the player is an admin or not.
then on your admin HQ, add this:
add something like this into your enum:
pawn Код:
PlayerInfo[playerid][pAdmin]
then on your admin HQ, add this:
pawn Код:
if(PlayerInfo[playerid][pAdmin] > 0)
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-1201.8862,-1000.5042,128.9680);
GameTextForPlayer(playerid,"~g~Admin ~r~House ~p~!!!",4000,6);
new string[256], pname[MAX_PLAYER_NAME];
return 1;
}