13.02.2009, 13:30
You could use a command or w/e to set your waypoint then when the driver requests it have it show as a mapicon or a checkpoint for him.
Most things are possible or have a pretty decent workaround if you put a little thought into it.
pawn Код:
//tos
new
Float:gWayPoint[ MAX_PLAYERS ][ 3 ];
//in the command which the player uses to set his waypoint
GetPlayerPos( playerid, gWaypoint[ playerid ][ 0 ], gWaypoint[ playerid ][ 1 ], gWaypoint[ playerid ][ 2 ] );
//in the w/e the driver uses to select the players waypoint
SetCheckpoint( playerid, gWaypoint[ passengerid ][ 0 ], gWaypoint[ passengerid ][ 1 ], gWaypoint[ passengerid ][ 2 ], 3.0 );

