onPlayerEnterVehicle message doesnt work
#1

Hello lads,
Its me again!

Tday ive wanted that a Message should ("Your entered a damaged Vehicle!") come, but it doesnt work?

PHP код:
public OnPlayerEnterVehicle(playeridvehicleidispassenger)
{
    new 
vehicle;
    
vehicle GetPlayerVehicleID(playerid);
    if(
vehicle == 604)
    {
        
SendClientMessage(playerid4"Your are in a damaged Vehicle.");
        return 
1;
    }
    return 
1;

ive tryd 2 Kind of types, but both wont work....

PHP код:
public OnPlayerEnterVehicle(playeridvehicleidispassenger)
{
    if(
GetPlayerVehicleID == 604)
    {
        
SendClientMessage(playerid4"Your are in a damaged Vehicle.");
        return 
1;
    }
    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: 3 Guest(s)