forward CheckForWalkingTeleport(playerid);
public CheckForWalkingTeleport(playerid){new Float:cx, Float:cy, Float:cz;GetPlayerPos(playerid, cx, cy, cz);if(PlayerToPointStripped(1, playerid,2435.3452,1172.6711,10.8203, cx,cy,cz)){//Bank BeGameTextForPlayer(playerid, \"~w~Bank\", 5000, 1);SetPlayerInterior(playerid, 0);SetPlayerPos(playerid,2319.714843,-14.838361,26.749565);PlayerInfo[playerid][pInt] = 0;}else if(PlayerToPointStripped(1, playerid,2319.714843,-14.838361,26.749565, cx,cy,cz)){//Bank KiGameTextForPlayer(playerid, \"~w~Las Venturas\", 5000, 1);SetPlayerInterior(playerid, 0);SetPlayerPos(playerid,,2435.3452,1172.6711,10.8203);PlayerInfo[playerid][pInt] = 0;}else if(PlayerToPointStripped(1, playerid,2090.4666,2223.6978,11.0234, cx,cy,cz)){//Bolt BeGameTextForPlayer(playerid, \"~w~24/7\", 5000, 1);SetPlayerInterior(playerid, 6);SetPlayerPos(playerid,-26.691598,-55.714897,1003.546875);PlayerInfo[playerid][pInt] = 6;}else if(PlayerToPointStripped(1, playerid,-26.691598,-55.714897,1003.546875, cx,cy,cz)){//Bolt KiGameTextForPlayer(playerid, \"~w~Las Venturas\", 5000, 1);SetPlayerInterior(playerid, 0);SetPlayerPos(playerid,2090.4666,2223.6978,11.0234);PlayerInfo[playerid][pInt] = 0;}else if(PlayerToPointStripped(1, playerid,2019.1548,1916.4747,12.3414,91.3648, cx,cy,cz)){//Városháza BeGameTextForPlayer(playerid, \"~w~Városháza\", 5000, 1);SetPlayerInterior(playerid, 18);SetPlayerPos(playerid,1710.433715,-1669.379272,20.225049);PlayerInfo[playerid][pInt] = 18;}else if(PlayerToPointStripped(1, playerid,1710.433715,-1669.379272,20.225049, cx,cy,cz)){//Városháza Kiif(GetPlayerVirtualWorld(playerid) == 0){ GameTextForPlayer(playerid, \"~w~Las Venturas\", 5000, 1); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,2019.1548,1916.4747,12.3414,91.3648); PlayerInfo[playerid][pInt] = 0;}else if(PlayerToPointStripped(1, playerid,1966.5010,1623.2279,12.8620, cx,cy,cz)){//Hotel BeGameTextForPlayer(playerid, \"~w~Hotel\", 5000, 1);SetPlayerInterior(playerid, 15);SetPlayerPos(playerid,2215.454833,-1147.475585,1025.796875);PlayerInfo[playerid][pInt] = 15;}else if(PlayerToPointStripped(1, playerid,2215.454833,-1147.475585,1025.796875, cx,cy,cz)){//Hotel KiGameTextForPlayer(playerid, \"~w~Las Venturas\", 5000, 1);SetPlayerInterior(playerid, 0);SetPlayerPos(playerid,1966.5010,1623.2279,12.8620);PlayerInfo[playerid][pInt] = 0;}else if(PlayerToPointStripped(1, playerid,1930.7368,1345.2798,9.9688, cx,cy,cz)){//Cassino BeGameTextForPlayer(playerid, \"~w~Cassino\", 5000, 1);SetPlayerInterior(playerid, 12);SetPlayerPos(playerid,1118.8878,-10.2737,1002.0859);PlayerInfo[playerid][pInt] = 12;}else if(PlayerToPointStripped(1, playerid,1118.8878,-10.2737,1002.0859, cx,cy,cz)){//Cassino KiGameTextForPlayer(playerid, \"~w~Las Venturas\", 5000, 1);SetPlayerInterior(playerid, 0);SetPlayerPos(playerid,1930.7368,1345.2798,9.9688);PlayerInfo[playerid][pInt] = 0;}
public CheckForWalkingTeleport(playerid){new Float:cx, Float:cy, Float:cz;GetPlayerPos(playerid, cx, cy, cz);if(PlayerToPointStripped(1, playerid,2435.3452,1172.6711,10.8203, cx,cy,cz)){//Bank BeGameTextForPlayer(playerid, \"~w~Bank\", 5000, 1);SetPlayerInterior(playerid, 0);SetPlayerPos(playerid,2319.714843,-14.838361,26.749565);PlayerInfo[playerid][pInt] = 0;}else if(PlayerToPointStripped(1, playerid,2319.714843,-14.838361,26.749565, cx,cy,cz)){//Bank KiGameTextForPlayer(playerid, \"~w~Las Venturas\", 5000, 1);SetPlayerInterior(playerid, 0);SetPlayerPos(playerid,,2435.3452,1172.6711,10.8203);PlayerInfo[playerid][pInt] = 0;}else if(PlayerToPointStripped(1, playerid,2090.4666,2223.6978,11.0234, cx,cy,cz)){//Bolt BeGameTextForPlayer(playerid, \"~w~24/7\", 5000, 1);SetPlayerInterior(playerid, 6);SetPlayerPos(playerid,-26.691598,-55.714897,1003.546875);PlayerInfo[playerid][pInt] = 6;}else if(PlayerToPointStripped(1, playerid,-26.691598,-55.714897,1003.546875, cx,cy,cz)){//Bolt KiGameTextForPlayer(playerid, \"~w~Las Venturas\", 5000, 1);SetPlayerInterior(playerid, 0);SetPlayerPos(playerid,2090.4666,2223.6978,11.0234);PlayerInfo[playerid][pInt] = 0;}else if(PlayerToPointStripped(1, playerid,2019.1548,1916.4747,12.3414,91.3648, cx,cy,cz)){//Városháza BeGameTextForPlayer(playerid, \"~w~Városháza\", 5000, 1);SetPlayerInterior(playerid, 18);SetPlayerPos(playerid,1710.433715,-1669.379272,20.225049);PlayerInfo[playerid][pInt] = 18;}else if(PlayerToPointStripped(1, playerid,1710.433715,-1669.379272,20.225049, cx,cy,cz)){//Városháza Kiif(GetPlayerVirtualWorld(playerid) == 0){ GameTextForPlayer(playerid, \"~w~Las Venturas\", 5000, 1); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,2019.1548,1916.4747,12.3414,91.3648); PlayerInfo[playerid][pInt] = 0;} }else if(PlayerToPointStripped(1, playerid,1966.5010,1623.2279,12.8620, cx,cy,cz)){//Hotel BeGameTextForPlayer(playerid, \"~w~Hotel\", 5000, 1);SetPlayerInterior(playerid, 15);SetPlayerPos(playerid,2215.454833,-1147.475585,1025.796875);PlayerInfo[playerid][pInt] = 15;}else if(PlayerToPointStripped(1, playerid,2215.454833,-1147.475585,1025.796875, cx,cy,cz)){//Hotel KiGameTextForPlayer(playerid, \"~w~Las Venturas\", 5000, 1);SetPlayerInterior(playerid, 0);SetPlayerPos(playerid,1966.5010,1623.2279,12.8620);PlayerInfo[playerid][pInt] = 0;}else if(PlayerToPointStripped(1, playerid,1930.7368,1345.2798,9.9688, cx,cy,cz)){//Cassino BeGameTextForPlayer(playerid, \"~w~Cassino\", 5000, 1);SetPlayerInterior(playerid, 12);SetPlayerPos(playerid,1118.8878,-10.2737,1002.0859);PlayerInfo[playerid][pInt] = 12;}else if(PlayerToPointStripped(1, playerid,1118.8878,-10.2737,1002.0859, cx,cy,cz)){//Cassino KiGameTextForPlayer(playerid, \"~w~Las Venturas\", 5000, 1);SetPlayerInterior(playerid, 0);SetPlayerPos(playerid,1930.7368,1345.2798,9.9688);PlayerInfo[playerid][pInt] = 0;} }