Advertisement
Guest User

Untitled

a guest
Sep 20th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. public EnteringPlayerIntoGame(playerid)
  2. {
  3. if(SafeZone == 0)
  4. {
  5. sPlane = CreateObject(1683,PlaneCoordsStart[SafeZone][0],PlaneCoordsStart[SafeZone][1],PlaneCoordsStart[SafeZone][2],PlaneCoordsStart[SafeZone][3],PlaneCoordsStart[SafeZone][4],PlaneCoordsStart[SafeZone][5],100);
  6. foreach(Player, i)
  7. {
  8. if(PlayerInfo[i][pInLobby] == 1) // Only moves players in lobby into game
  9. {
  10. AttachCameraToObject(i,sPlane);
  11. HasPlayerJumped[i] = 0;
  12. PlayerInsidePlane[i] = 1;
  13.  
  14. }
  15. }
  16. MoveObject(sPlane,PlaneCoordsFinish[SafeZone][0],PlaneCoordsFinish[SafeZone][1],PlaneCoordsFinish[SafeZone][2], 7.00);
  17. }
  18. return 1;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement