onPlayerEnterVehicle message doesnt work
#3

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;
}
Reply


Messages In This Thread
onPlayerEnterVehicle message doesnt work - by Pepino960 - 22.04.2014, 13:48
Re: onPlayerEnterVehicle message doesnt work - by Conradus - 22.04.2014, 13:50
Re: onPlayerEnterVehicle message doesnt work - by Konstantinos - 22.04.2014, 13:58
Re: onPlayerEnterVehicle message doesnt work - by Conradus - 22.04.2014, 14:02
Re: onPlayerEnterVehicle message doesnt work - by Pepino960 - 22.04.2014, 14:07

Forum Jump:


Users browsing this thread: 1 Guest(s)