[HELP] All cars locked!
#9

pawn Код:
public LockCar(carid)
{
  for(new i = 0; i < MAX_PLAYERS; i++)
  {
   if(IsPlayerConnected(i))
   {
     SetVehicleParamsForPlayer(carid,i,0,1);
   }
  }
}
What exactly is this for? you are checking if players are connected, and if any player is connected, it locks the car. But, what is carid?...
Reply


Messages In This Thread
[HELP] All cars locked! - by KeyWay - 08.06.2009, 12:05
Re: [HELP] All cars locked! - by shitbird - 08.06.2009, 12:34
Re: [HELP] All cars locked! - by KeyWay - 08.06.2009, 12:41
Re: [HELP] All cars locked! - by shitbird - 08.06.2009, 12:45
Re: [HELP] All cars locked! - by KeyWay - 08.06.2009, 12:57
Re: [HELP] All cars locked! - by shitbird - 08.06.2009, 13:13
Re: [HELP] All cars locked! - by KeyWay - 08.06.2009, 13:20
Re: [HELP] All cars locked! - by KeyWay - 08.06.2009, 13:20
Re: [HELP] All cars locked! - by shitbird - 08.06.2009, 13:24
Re: [HELP] All cars locked! - by KeyWay - 08.06.2009, 15:00

Forum Jump:


Users browsing this thread: 3 Guest(s)