Respawn
#1

toate masinile au fost respawnate = spams.(RO/ENG): all cars where respawned.If you need rep,il give you rep!


PHP код:
            public ScheduledRespawn(playerid)
                    {
                    new 
bool:unwanted[CAR_AMOUNT];
                    for(new 
0MAX_PLAYERSi++)
                    {
                        for(new 
player=0player<MAX_PLAYERSplayer++)
                    {
                    if(
IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; }
                    }
                    }
                    for(new 
car 1car <= 359car++)
                    {
                        if(!
unwanted[car]) SetVehicleToRespawn(car);
                    }
                    
SendClientMessage(playerid,COLOR_YELLOW,"• Toate masinile au fost respawnate ! •");
                    } 
Reply


Messages In This Thread
Respawn - by Akcent_Voltaj - 21.01.2013, 19:29
Re: Respawn - by azzerking - 21.01.2013, 19:56
Re: Respawn - by Akcent_Voltaj - 21.01.2013, 20:22
Re: Respawn - by azzerking - 21.01.2013, 20:52
Re: Respawn - by Akcent_Voltaj - 21.01.2013, 21:17
Re: Respawn - by azzerking - 21.01.2013, 21:26
Re: Respawn - by Akcent_Voltaj - 21.01.2013, 21:58
Re: Respawn - by arakuta - 21.01.2013, 22:09
Re: Respawn - by Akcent_Voltaj - 21.01.2013, 22:41
Re: Respawn - by Threshold - 21.01.2013, 23:57

Forum Jump:


Users browsing this thread: 1 Guest(s)