13.07.2009, 13:18
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;
}

