22.04.2014, 13:58
This callback is called when a player starts to enter the vehicle but he's not in yet so GetPlayerVehicleID returns 0.
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(GetVehicleModel(vehicleid) == 604) SendClientMessage(playerid, 4, "Your are in a damaged Vehicle.");
return 1;
}