24.10.2011, 12:03
Ooh wait, you want when you do /start, it shows a checkpoint that's in front of you?
pawn Код:
COMMAND:start(playerid, params[])
{
if( IsPlayerInRangeOfPoint( playerid, 7.0, 1017.3148, -929.1449, 420.1316 ) ) // change the '1, 2, 3' to the coords for bigjump 1 (example)
{
SetPlayerVirtualWorld(playerid, 1);
PutPlayerInVehicle(playerid, 411, 0); // when the player is at bigjump 1, do this
CreateDynamicCheckPoint(....);
}
if( IsPlayerInRangeOfPoint( playerid, 7.0, 1946.0314, -1921.3646, 584.5061 ) ) // change the '4, 5, 6' to the coords for bigjump 2 (example)
{
SetPlayerVirtualWorld(playerid, 2);
PutPlayerInVehicle(playerid, 411, 0);
CreateDynamicCheckPoint(....);
}
if( IsPlayerInRangeOfPoint( playerid, 7.0, 2312.9204, 986.5928, 501.5012 ) ) // change the '7, 8, 9' to the coords for driftplace 137 (example)
{
SetPlayerVirtualWorld(playerid, 3);
PutPlayerInVehicle(playerid, 411, 0);
CreateDynamicCheckPoint(....);
}
return 1;
}