13.07.2009, 13:15
Can you plz tell me how to make a admin house that i dont have to buy just to enter it?
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;
}