[HELP] All cars locked!
#10

Quote:
Originally Posted by sbґ
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?...
I checked that. I didnt see that my GM is even using that, it was propably for rented car or something... So i think i can remove it, maybe thats the problem?


Thanks for replying.
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: 1 Guest(s)