Doesn't put people in vehicles.
#1

pawn Код:
for(new i,g=GetMaxPlayers(); i < g; i++) if(IsPlayerConnected(i) && !IsPlayerNPC(i))
        {
            if(i != playerid)
            {
                for(new d; d <15; d++)
                {
                    if(!IsPlayerInVehicle(i,hunter[d]) || !IsPlayerInVehicle(i,hydra[d]))
                    {
                      new chance = random(10);
                      switch(chance)
                      {
                            case 0: PutPlayerInVehicle(playerid,hunter[d],0);
                            case 1: PutPlayerInVehicle(playerid,hunter[d],0);
                            case 2: PutPlayerInVehicle(playerid,hunter[d],0);
                            case 3: PutPlayerInVehicle(playerid,hunter[d],0);
                            case 4: PutPlayerInVehicle(playerid,hunter[d],0);
                            case 5: PutPlayerInVehicle(playerid,hunter[d],0);
                            case 6: PutPlayerInVehicle(playerid,hunter[d],0);
                            case 7: PutPlayerInVehicle(playerid,hunter[d],0);
                            case 8: PutPlayerInVehicle(playerid,hunter[d],0);
                            case 9: PutPlayerInVehicle(playerid,hydra[d],0);
                        }
                    }
                    break;
                }
            }
        }
thats what i got on join the deathmatch and it doesn't put them in the vehicles
Reply


Messages In This Thread
Doesn't put people in vehicles. - by 0ne - 11.05.2010, 14:44
Re: Doesn't put people in vehicles. - by Killa_ - 11.05.2010, 14:45
Re: Doesn't put people in vehicles. - by 0ne - 11.05.2010, 14:46
Re: Doesn't put people in vehicles. - by Zh3r0 - 11.05.2010, 15:09
Re: Doesn't put people in vehicles. - by 0ne - 11.05.2010, 15:17
Re: Doesn't put people in vehicles. - by Infinity - 11.05.2010, 15:21
Re: Doesn't put people in vehicles. - by DJDhan - 11.05.2010, 15:27
Re: Doesn't put people in vehicles. - by 0ne - 11.05.2010, 15:37
Re: Doesn't put people in vehicles. - by Infinity - 11.05.2010, 15:40
Re: Doesn't put people in vehicles. - by 0ne - 11.05.2010, 15:43

Forum Jump:


Users browsing this thread: 1 Guest(s)