[Ajuda] Respawn carros
#4

pawn Код:
CMD:rtcpm(playerid, params[]) {
    new string[256];
    if(Player[playerid][pPM] >= 4) {
    for(new i; i < 14; i++) {
        SetVehicleToRespawn(PM[i]);
        format(string, sizeof(string), "{0000FF}O Polнcial {ffffff}%s{0000FF} respawnou todos os carros da PM.", getPName(playerid));
        SendMessageToPM(COR_BRANCO, string);
    }
        else return SendClientMessage(playerid, COR_ERRO, "Vocк nгo tem autorizaзгo para usar este comando.");
        return 1;
    }
    return 1;
}
Nгo testei, mas acho que funciona.
Reply


Messages In This Thread
Respawn carros - by _Play_ - 10.10.2014, 19:37
Re: Respawn carros - by mau.tito - 10.10.2014, 19:40
Re: Respawn carros - by Saidmrn - 10.10.2014, 19:40
Re: Respawn carros - by ipsLuan - 10.10.2014, 19:42
Re: Respawn carros - by _Play_ - 10.10.2014, 19:49
Re: Respawn carros - by _Play_ - 10.10.2014, 20:27

Forum Jump:


Users browsing this thread: 3 Guest(s)