17.04.2011, 07:35
Quote:
pawn Код:
|
You can use OnPlayerStateChange to let the player know what to do when he is IN the vehicle.
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if ((newstate == PLAYER_STATE_DRIVER) && (oldstate == PLAYER_STATE_ONFOOT))
{
SendClientMessage(playerid, -1, "Type /eon to turn on the vehicle's engine!");
}
return 1;
}