Posts: 303
Threads: 71
Joined: Mar 2011
Is it possible to have people jump off an andromeda like in this video:
[ame]http://www.youtube.com/watch?v=38MEueiDHtY&feature=related[/ame]
Posts: 303
Threads: 71
Joined: Mar 2011
Okay I found the interior ID: 9
How can I set it where when I type in /skydive , it will automatically take me to the plane and when I jump out, it will send me above Los Santos?
Posts: 371
Threads: 44
Joined: Nov 2009
Reputation:
0
What are you use? ZCMD, YCMD, DCMD, strcmp?
Posts: 303
Threads: 71
Joined: Mar 2011
Posts: 303
Threads: 71
Joined: Mar 2011
Quote:
Originally Posted by sjvt
pawn Код:
COMMAND:skydive(playerid, params[]) // or CMD:mycommand(playerid, params[]) { SetPlayerPos(playerid, 315.856170, 1024.496459, 1949.797363); // Interior SetPlayerInterior(playerid, 9); // Interior ID SetPlayerCheckpoint(playerid, X, Y, Z, 3.0); // Where do you want the checkpoint in the interior return 1; }
public OnPlayerEnterCheckpoint(playerid) { if(IsPlayerInRangeOfPoint(playerid, 5.0, X, Y, Z )) // Same X,Y,Z as SetPlayerCheckPoint { SetPlayerPos(playerid, X, Y, Z); // somewhere in the air SetPlayerInterior(playerid, 0); // Normal world } return 1; }
|
I'm not home right now but when I do get home ill test it out and if it works then ill rep you for sure!