Check if the vehicle is occupied
#6

Here's something confusing, what kind of seat id is 0?
pawn Код:
for(new i=0; i<MAX_PLAYERS; i++)
            {
                if(PlayerInfo[i][pTrazerKart] == 1)
                {
                   if(!IsPlayerConnected(i) || IsPlayerInAnyVehicle(i)) continue;
                   if(Jogadoreskart != 20)
                   {
                     PutPlayerInVehicle(i,Carro[Jogadoreskart],1); // 1 so it will put the player as a driver.
Reply


Messages In This Thread
Check if the vehicle is occupied - by Freak@ - 11.06.2014, 23:11
Re: Check if the vehicle is occupied - by Jack_Leslie - 11.06.2014, 23:30
Re: Check if the vehicle is occupied - by Freak@ - 11.06.2014, 23:41
Re: Check if the vehicle is occupied - by Jack_Leslie - 11.06.2014, 23:45
Re: Check if the vehicle is occupied - by Freak@ - 11.06.2014, 23:49
Re: Check if the vehicle is occupied - by Laure - 11.06.2014, 23:56
Re: Check if the vehicle is occupied - by Freak@ - 12.06.2014, 00:07
Re: Check if the vehicle is occupied - by Laure - 12.06.2014, 00:20
Re: Check if the vehicle is occupied - by Freak@ - 12.06.2014, 00:23
Re: Check if the vehicle is occupied - by Freak@ - 12.06.2014, 00:27

Forum Jump:


Users browsing this thread: 1 Guest(s)