Making Admin House
#1

Can you plz tell me how to make a admin house that i dont have to buy just to enter it?
Reply
#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
#3

Ty
Reply
#4

It's an easy script
Nice Gergo.
Szйp script gergő.
Bбr nem annyira bonyorult
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)