27.12.2011, 21:10
I am trying to send a message to a player when they enter the ambulance (416) But when I enter the ambulance I get no message.
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(vehicleid == 416)
{
SendClientMessage(playerid, 0xFFFF00FF, "You have entered an ambulance. Heal people with /heal");
return 1;
}
else
return 1;
}

