Advertisement
Guest User

sampforum.elite

a guest
May 15th, 2016
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.72 KB | None | 0 0
  1. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) {
  2.     if(IsPlayerConnected(playerid)) {
  3.         if(IsPlayerInRangeOfPoint(playerid, 5, 246.9745,65.5105,1003.6406)) {
  4.             SetPlayerPos(playerid, -1605.0223,713.9708,13.1623);
  5.             SetPlayerInterior(playerid, 0);
  6.             SetPlayerFacingAngle(playerid, 0);
  7.             return 1;
  8.         }
  9.         if(IsPlayerConnected(playerid)) {
  10.             if(IsPlayerInRangeOfPoint(playerid, 5, 246.9745,65.5105,1003.6406)) {
  11.                 SetPlayerPos(playerid, -1605.0223,713.9708,13.1623);
  12.                 SetPlayerInterior(playerid, 0);
  13.                 SetPlayerFacingAngle(playerid, 0);
  14.                 return 1;
  15.                }
  16.             }
  17.         }
  18.         return 1;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement