Help with OnPlayerEnterVehicle
#2

You can't use "vehicleid" to get the model id.

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
        if(GetVehicleModel(vehicleid) == 416)
        {
            SendClientMessage(playerid, 0xFFFF00FF, "You have entered an ambulance. Heal people with /heal");
        }
   
    return 1;

}
Reply


Messages In This Thread
Help with OnPlayerEnterVehicle - by luigifan9 - 27.12.2011, 21:10
Re: Help with OnPlayerEnterVehicle - by Jakku - 27.12.2011, 21:11
Re: Help with OnPlayerEnterVehicle - by luigifan9 - 27.12.2011, 21:20

Forum Jump:


Users browsing this thread: 1 Guest(s)