Making Admin House
#2

pawn Код:
if(strcmp(cmd, "/enterahouse", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        if (IsPlayerAdmin(playerid))
        {
            SetPlayerPos(playerid, X, Y, Z); // Admin house coordinate
        }
        else
        {
            SendClientMessage(playerid, 0xFFFFFFAA, "You are not an admin!");
        }
    }
    return 1;
}
Reply


Messages In This Thread
Making Admin House - by Dr_Killer_23 - 13.07.2009, 13:15
Re: Making Admin House - by Gergo1352 - 13.07.2009, 13:18
Re: Making Admin House - by Dr_Killer_23 - 13.07.2009, 13:25
Re: Making Admin House - by Fay-Tony - 25.08.2009, 12:45

Forum Jump:


Users browsing this thread: 1 Guest(s)