Question about respawning cars
#6

or if u want dcmd

pawn Код:
dcmd_respawncars(playerid,params[])
{
    #pragma unused params
    if(AccInfo[playerid][Level] >= 1 || IsPlayerAdmin(playerid))
    {
        SendClientMessage(playerid, green, "|- Your have Successfully Respawned all Vehicles! -|");
        GameTextForAll("~n~~n~~n~~n~~n~~n~~r~Vehicles ~g~Respawned!", 3000,3);
       
        for(new cars=0; cars<MAX_VEHICLES; cars++)
        {
            if(!VehicleOccupied(cars))
            {
                SetVehicleToRespawn(cars);
            }
        }
        return 1;
    }
    else return ErrorMessages(playerid, 1);
}
Reply


Messages In This Thread
Question about respawning cars - by Ehab1911 - 13.06.2011, 12:48
Re: Question about respawning cars - by Gazmull - 13.06.2011, 13:00
Re: Question about respawning cars - by Skaizo - 13.06.2011, 13:05
Respuesta: Question about respawning cars - by RatHack - 13.06.2011, 13:06
Re: Question about respawning cars - by Ehab1911 - 14.06.2011, 07:54
Re: Question about respawning cars - by ColdIce - 14.06.2011, 07:57

Forum Jump:


Users browsing this thread: 1 Guest(s)