Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) {
- if(IsPlayerConnected(playerid)) {
- if(IsPlayerInRangeOfPoint(playerid, 5, 246.9745,65.5105,1003.6406)) {
- SetPlayerPos(playerid, -1605.0223,713.9708,13.1623);
- SetPlayerInterior(playerid, 0);
- SetPlayerFacingAngle(playerid, 0);
- return 1;
- }
- if(IsPlayerConnected(playerid)) {
- if(IsPlayerInRangeOfPoint(playerid, 5, 246.9745,65.5105,1003.6406)) {
- SetPlayerPos(playerid, -1605.0223,713.9708,13.1623);
- SetPlayerInterior(playerid, 0);
- SetPlayerFacingAngle(playerid, 0);
- return 1;
- }
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement