OnPlayerEnterVehicle help
#3

So, something like this:

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
  if(vehicleid == 541 && !ispassenger)
  {
    new string[50];
    format(string, sizeof(string), "Uhhm? Text...", vehicleid);
    GameTextForPlayer(playerid, string, 3000, 4);
  }

  return 1;
}
However, when I spawn vehicle ID number 541 in game, and get in the driver seat...it does nothing.
Reply


Messages In This Thread
OnPlayerEnterVehicle help - by spykid1305 - 11.06.2009, 16:33
Re: OnPlayerEnterVehicle help - by BMUK - 11.06.2009, 17:00
Re: OnPlayerEnterVehicle help - by spykid1305 - 11.06.2009, 17:31
Re: OnPlayerEnterVehicle help - by kaisersouse - 11.06.2009, 17:34
Re: OnPlayerEnterVehicle help - by MenaceX^ - 11.06.2009, 17:38

Forum Jump:


Users browsing this thread: 2 Guest(s)