SA-MP Forums Archive
Necesito scripts de /repair - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Necesito scripts de /repair (/showthread.php?tid=197459)



Necesito scripts de /repair - adolf1 - 09.12.2010

Necesito un comando de reparar auto alguien puede aportarme uno ?


Respuesta: Necesito scripts de /repair - fox3r - 09.12.2010

pawn Код:
if (!strcmp("/repair", cmdtext))
    {
        if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "ЎNecesitas estar en un vehнculo!");
        RepairVehicle(GetPlayerVehicleID(playerid));
        SendClientMessage(playerid, 0xFFFFFFFF, "Vehнculo reparado.");
        return 1;
    }



Respuesta: Necesito scripts de /repair - adolf1 - 09.12.2010

Otro comando que ese noce como colocarlo Ayudame


Respuesta: Necesito scripts de /repair - RatHack - 09.12.2010

Quote:
Originally Posted by fox3r
Посмотреть сообщение
pawn Код:
if (!strcmp("/repair", cmdtext))
    {
        if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "ЎNecesitas estar en un vehнculo!");
        RepairVehicle(GetPlayerVehicleID(playerid));
        SendClientMessage(playerid, 0xFFFFFFFF, "Vehнculo reparado.");
        return 1;
    }
Eso en public OnPlayerCommandText(playerid, cmdtext[]) y luego el /Repair puedes cambiarlo por el comando que te guste.


Respuesta: Necesito scripts de /repair - adolf1 - 09.12.2010

Gracias manes Son lomejores (Y)