How DO I Do this?
#5

Quote:
Originally Posted by kaisersouse
you did a REALLY shitty search then. This topic was discussed 3 days ago.
wow that was really mean and uncalled for.


Quote:
Originally Posted by Sneaky.
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
  if(newstate == PLAYER_STATE_DRIVER)
  {
    for(new i = 0; i < GetMaxPlayers(); i++)
    {
      SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i,0,1);
    }
  }
  return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
  for(new i = 0; i < GetMaxPlayers(); i++)
  {
    SetVehicleParamsForPlayer(vehicleid,i,0,0);
  }
  return 1;
}
Try this
It dident work
Reply


Messages In This Thread
How DO I Do this? - by BP13 - 08.07.2009, 17:27
Re: How DO I Do this? - by kaisersouse - 08.07.2009, 17:28
Re: How DO I Do this? - by Danny_Costelo - 08.07.2009, 17:31
Re: How DO I Do this? - by -Sneaky- - 08.07.2009, 17:34
Re: How DO I Do this? - by BP13 - 08.07.2009, 19:18

Forum Jump:


Users browsing this thread: 1 Guest(s)