one question
#7

give your vehicle an ID like:
pawn Код:
new MyVehicle; // on top
OnGameModeInit
pawn Код:
MyVehicle = AddStaticVehicle(451,...,.....);
OnPlayerEnterVehicle
pawn Код:
if(vehicleid == MyVehicle)
{
  new string[64];
  format(string, sizeof(string), "%d has entered MyVehicle", playerid); // change message what you like
  SendClientMessageToAll(0xFFFFFF, string);
}
This should work
Reply


Messages In This Thread
one question - by lidor5353 - 25.04.2010, 13:25
Re: one question - by MadeMan - 25.04.2010, 13:50
Re: one question - by lidor5353 - 25.04.2010, 17:14
Re: one question - by lidor5353 - 25.04.2010, 18:20
Re: one question - by lidor5353 - 26.04.2010, 04:50
Re: one question - by [AC]Flow - 26.04.2010, 05:36
Re: one question - by CAR - 26.04.2010, 06:37
Re: one question - by cessil - 26.04.2010, 06:54
Re: one question - by scept1c - 26.04.2010, 10:42
Re: one question - by lidor5353 - 26.04.2010, 11:07

Forum Jump:


Users browsing this thread: 1 Guest(s)