Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else if(IsPlayerInRangeOfPoint(playerid, 1,1173.2563,-1323.3102,15.3943))
- {
- //Hospital enter
- PlayerInfo[playerid][pInteriorNr] = 29;
- SafeSetPlayerInterior(playerid, 6);
- SafeSetPlayerPos(playerid, 1222.0614,-1250.3997,1287.8243);
- GameTextForPlayer(playerid, "~w~All Saints Hospital",5000,1);
- SetPlayerFacingAngle(playerid, 0);
- TogglePlayerControllable(playerid, 0);
- SetTimerEx("Unfreezeply",3000,false,"i",playerid);
- }
- else if(IsPlayerInRangeOfPoint(playerid, 1,1219.6620,-1250.0331,1287.8243))
- {
- //Hospital exit
- PlayerInfo[playerid][pInteriorNr] = 0;
- SafeSetPlayerPos(playerid, 1174.2563,-1323.3102,15.3943);
- GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
- SafeSetPlayerInterior(playerid, 0);
- SetPlayerFacingAngle(playerid, 270);
- if(IsPlayerInRangeOfPoint(playerid, 1, 1752.4963, -1894.1227, 13.5574))
- {
- // Taxi Ulaz
- PlayerInfo[playerid][pInteriorNr] = 3;
- SafeSetPlayerPos(playerid, 935.2051, 2068.2585, -26.4570);
- GameTextForPlayer(playerid, "~w~Taxi Firma",5000,1);
- SafeSetPlayerInterior(playerid, 1);
- SetPlayerFacingAngle(playerid, 267.640);
- }
- else if(IsPlayerInRangeOfPoint(playerid, 1, 935.2051, 2068.2585, -26.4570))
- {
- // Taxi Izlaz
- PlayerInfo[playerid][pInteriorNr] = 0;
- SafeSetPlayerPos(playerid, 1752.4963,-1894.1227,13.5574);
- GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
- SafeSetPlayerInterior(playerid, 0);
- SetPlayerFacingAngle(playerid, 0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement