Las Used vehicle
#4

I recommend to use the PVars.

pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
  SetPVarInt(playerid, "Last_Vehicle", vehicleid);
  return true;
}
pawn Код:
if(GetPVarInt(playerid, "Last_Vehicle") == PlayerInfo[playerid][pPcarkey])
{
  // your code.
}
Reply


Messages In This Thread
Las Used vehicle - by graetz - 21.04.2010, 19:27
Re: Las Used vehicle - by CAR - 21.04.2010, 19:33
Re: Las Used vehicle - by graetz - 21.04.2010, 19:38
Re: Las Used vehicle - by Correlli - 21.04.2010, 20:06
Re: Las Used vehicle - by Goobiiify - 21.04.2010, 20:11
Re: Las Used vehicle - by Correlli - 21.04.2010, 20:14
Re: Las Used vehicle - by Goobiiify - 21.04.2010, 20:16
Re: Las Used vehicle - by Correlli - 21.04.2010, 20:18
Re: Las Used vehicle - by Backwardsman97 - 21.04.2010, 20:28
Re: Las Used vehicle - by Nero_3D - 21.04.2010, 21:20

Forum Jump:


Users browsing this thread: 1 Guest(s)