GetPlayerVehicleID not working.
#9

Quote:
Originally Posted by Mo3
..means?

I just want to check if the player is in a cargobob.
This is the example how to see which vehicle-id is which.
pawn Код:
public OnGameModeInit()
{
  AddStaticVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1); // vehicle-id is 1.
  AddStaticVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1); // vehicle-id is 2.
  AddStaticVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1); // vehicle-id is 3.
  // other code.
  AddStaticVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1); // vehicle-id is 4.
  AddStaticVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1); // vehicle-id is 5.
  // other code.
  AddStaticVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1); // vehicle-id is 6.
  return 1;
}
while 548 is the model-id of the Cargobob.
Reply


Messages In This Thread
GetPlayerVehicleID not working. - by Striker_Moe - 01.10.2009, 16:24
Re: GetPlayerVehicleID not working. - by member - 01.10.2009, 16:27
Re: GetPlayerVehicleID not working. - by Striker_Moe - 01.10.2009, 16:36
Re: GetPlayerVehicleID not working. - by Correlli - 01.10.2009, 16:37
Re: GetPlayerVehicleID not working. - by Striker_Moe - 01.10.2009, 16:39
Re: GetPlayerVehicleID not working. - by shady91 - 01.10.2009, 16:41
Re: GetPlayerVehicleID not working. - by JoeyZack - 01.10.2009, 16:42
Re: GetPlayerVehicleID not working. - by Striker_Moe - 01.10.2009, 16:45
Re: GetPlayerVehicleID not working. - by Correlli - 01.10.2009, 16:45
Re: GetPlayerVehicleID not working. - by Striker_Moe - 01.10.2009, 16:48

Forum Jump:


Users browsing this thread: 1 Guest(s)