22.04.2014, 13:48 
	
	
	
		Hello lads,
Its me again!
Tday ive wanted that a Message should ("Your entered a damaged Vehicle!") come, but it doesnt work?
ive tryd 2 Kind of types, but both wont work....
	
	
	
	
Its me again!
Tday ive wanted that a Message should ("Your entered a damaged Vehicle!") come, but it doesnt work?
PHP код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    new vehicle;
    vehicle = GetPlayerVehicleID(playerid);
    if(vehicle == 604)
    {
        SendClientMessage(playerid, 4, "Your are in a damaged Vehicle.");
        return 1;
    }
    return 1;
} 
PHP код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(GetPlayerVehicleID == 604)
    {
        SendClientMessage(playerid, 4, "Your are in a damaged Vehicle.");
        return 1;
    }
    return 1;
} 




