[Ajuda] comando respawn 1 Warning.
#2

Galera, fiz assim agora na stock e compilou, mais nгo sei se funcionarб de forma correta.

pawn Код:
stock IsVehicleOccupied(vehicleid) // Retorna a 1 se hб alguйm no veнculo
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerInAnyVehicle(i))
        {
            if(GetPlayerVehicleID(i) == vehicleid)
            {
                return 1;
            }
            else
            {
                return 0;
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
comando respawn 1 Warning. - by Lucas-Fc - 13.07.2014, 23:08
Re: comando respawn 1 Warning. - by Lucas-Fc - 13.07.2014, 23:10
Re: comando respawn 1 Warning. - by Lucas-Fc - 13.07.2014, 23:58
Re: comando respawn 1 Warning. - by ScripterInicianteBR - 14.07.2014, 04:42
Re: comando respawn 1 Warning. - by Schocc - 14.07.2014, 04:53
Re: comando respawn 1 Warning. - by WLSF - 14.07.2014, 05:01
Re: comando respawn 1 Warning. - by PT - 14.07.2014, 11:16

Forum Jump:


Users browsing this thread: 1 Guest(s)