Advertisement
Guest User

Untitled

a guest
Oct 24th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. else if(IsPlayerInRangeOfPoint(playerid, 1,1173.2563,-1323.3102,15.3943))
  2. {
  3. //Hospital enter
  4. PlayerInfo[playerid][pInteriorNr] = 29;
  5. SafeSetPlayerInterior(playerid, 6);
  6. SafeSetPlayerPos(playerid, 1222.0614,-1250.3997,1287.8243);
  7. GameTextForPlayer(playerid, "~w~All Saints Hospital",5000,1);
  8. SetPlayerFacingAngle(playerid, 0);
  9. TogglePlayerControllable(playerid, 0);
  10. SetTimerEx("Unfreezeply",3000,false,"i",playerid);
  11. }
  12. else if(IsPlayerInRangeOfPoint(playerid, 1,1219.6620,-1250.0331,1287.8243))
  13. {
  14. //Hospital exit
  15. PlayerInfo[playerid][pInteriorNr] = 0;
  16. SafeSetPlayerPos(playerid, 1174.2563,-1323.3102,15.3943);
  17. GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
  18. SafeSetPlayerInterior(playerid, 0);
  19. SetPlayerFacingAngle(playerid, 270);
  20. if(IsPlayerInRangeOfPoint(playerid, 1, 1752.4963, -1894.1227, 13.5574))
  21. {
  22. // Taxi Ulaz
  23. PlayerInfo[playerid][pInteriorNr] = 3;
  24. SafeSetPlayerPos(playerid, 935.2051, 2068.2585, -26.4570);
  25. GameTextForPlayer(playerid, "~w~Taxi Firma",5000,1);
  26. SafeSetPlayerInterior(playerid, 1);
  27. SetPlayerFacingAngle(playerid, 267.640);
  28. }
  29. else if(IsPlayerInRangeOfPoint(playerid, 1, 935.2051, 2068.2585, -26.4570))
  30. {
  31. // Taxi Izlaz
  32. PlayerInfo[playerid][pInteriorNr] = 0;
  33. SafeSetPlayerPos(playerid, 1752.4963,-1894.1227,13.5574);
  34. GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
  35. SafeSetPlayerInterior(playerid, 0);
  36. SetPlayerFacingAngle(playerid, 0);
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement