SA-MP Forums Archive
[Pregunta] їPor quй no se me crea el coche como moneda[...] - 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: [Pregunta] їPor quй no se me crea el coche como moneda[...] (/showthread.php?tid=555033)



[Pregunta] їPor quй no se me crea el coche como moneda[...] - DarNeell - 06.01.2015

oficial?

pawn Код:
CMD:crearvehuz(playerid, params[])
{
    if (Info[playerid][pAdminZC] < 99999)
    {
        SendClientMessageEx(playerid, COLOR_GREY, " No puedes usar este comando.");
        return 1;
    }

    new string[128], dealershipid, modelid;
    if(sscanf(params, "ddd", Info[playerid][pUZ], dealershipid, modelid)) return SendClientMessageEx(playerid, COLOR_WHITE, "USA: /createvehuz [Precio uz] [Numero Conse] [Modelo]");

    new Float:X,Float:Y,Float:Z,Float:A;
    GetPlayerPos(playerid,X,Y,Z);
    GetPlayerFacingAngle(playerid, A);
    new cdvehicleid = CreateCarDealershipVehicle(dealershipid, modelid, X, Y, Z, A, Info[playerid][pUZ]);
    if(cdvehicleid == -1)
    {
        SendClientMessageEx(playerid, COLOR_GREY, "ERROR: cdVehicles ha alcanzado el lнmite.");
    }
    else
    {
        format(string, sizeof(string), " Coche creado con la ID %d.", cdvehicleid);
        SendClientMessageEx(playerid, COLOR_GRAD1, string);
    }
    return 1;
}
SALUDOOS


AW: [Pregunta] їPor quй no se me crea el coche como moneda[...] - DarNeell - 06.01.2015

Arreglado.