DisableInteriorEnterExits();
public OnPlayerCommandText(playerid, cmdtext[]){ if(strcmp(cmdtext, \"/exit\", true) == 0){if(IsPlayerInRangeOfPoint(playerid, 2, 363.4130,-74.5787,1001.5078)){SetPlayerInterior(playerid, 0);SetPlayerPos(playerid, 1520.8337,-1706.8837,13.5469);}else if(IsPlayerInRangeOfPoint(playerid, 2, 363.4130,-74.5787,1001.5078)){SetPlayerInterior(playerid, 0);SetPlayerPos(playerid, 811.1323,-1616.0688,13.5469);}else if(IsPlayerInRangeOfPoint(playerid, 2, 363.4130,-74.5787,1001.5078)){SetPlayerInterior(playerid, 0);SetPlayerPos(playerid, 1199.2968,-918.8870,43.1173);}return 1;}return 0;}
if(IsPlayerInRangeOfPoint(playerid, 2, 363.4130,-74.5787,1001.5078))
SetPlayerInterior(playerid, 0); //Beálítjuk neki a 0-lás,(alap) Interiort,SetPlayerPos(playerid, 1520.8337,-1706.8837,13.5469); //Elteleportáljuk az épület elé
if(IsPlayerInRangeOfPoint(playerid, radius, x,y,z)) //Royal casino
new bool:burger[MAX_PLAYERS];
if(strcmp(cmdtext, \"/enter\", true) == 0) {if (IsPlayerInRangeOfPoint(playerid, 3.0, x,y,z)) { SetPlayerPos(playerid, ,x,y,z);SetPlayerInterior(playerid, ID);SetPlayerVirtualWorld(playerid, ID);burger[playerid] = true;return 1; }return 1;}
if(strcmp(cmdtext, \"/exit\", true) == 0) { if (IsPlayerInRangeOfPoint(playerid, 3.0, 1x,y,z)&&burger[playerid] == true) { SetPlayerPos(playerid, xyz); SetPlayerInterior(playerid, 0);SetPlayerVirtualWorld(playerid, 0);burger[playerid] = false;return 1; } return 1;}