Help with OnPlayerEnterVehicle
#1

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;

}
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)