Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public EnteringPlayerIntoGame(playerid)
- {
- if(SafeZone == 0)
- {
- sPlane = CreateObject(1683,PlaneCoordsStart[SafeZone][0],PlaneCoordsStart[SafeZone][1],PlaneCoordsStart[SafeZone][2],PlaneCoordsStart[SafeZone][3],PlaneCoordsStart[SafeZone][4],PlaneCoordsStart[SafeZone][5],100);
- foreach(Player, i)
- {
- if(PlayerInfo[i][pInLobby] == 1) // Only moves players in lobby into game
- {
- AttachCameraToObject(i,sPlane);
- HasPlayerJumped[i] = 0;
- PlayerInsidePlane[i] = 1;
- }
- }
- MoveObject(sPlane,PlaneCoordsFinish[SafeZone][0],PlaneCoordsFinish[SafeZone][1],PlaneCoordsFinish[SafeZone][2], 7.00);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement