Jump to content

Mod de joc - Redtimes.eu


buNNyy
 Share

Recommended Posts

Just now, CosminAdv2 said:

Du-te la linia unde ai eroare

si da mi tot de acolo 

CMD:spawncar(playerid, params[]) {
    if(PlayerInfo[playerid][pAdmin] < 1) return SCM(playerid, COLOR_WHITE, AdminOnly);
    new model, color1, color2;
    if(sscanf(params, "iii", model, color1, color2)) return syntaxMessage(playerid, "/ecar <Model> <color1> <color2>");
    if(model < 400 || model > 611) return SCM(playerid,COLOR_WHITE, "Invalid car ID.");
    new Float:X,Float:Y,Float:Z;
    GetPlayerPos(playerid, X,Y,Z);
    new carid = CreateVehicleEx(model, X,Y,Z, 0.0,  color1, color2, 300);
    Gas[carid] = 100;
    SetVehicleNumberPlate(carid, "AdmCar");
    Carspawn[carid] = carid;
    new vehicles = GetVehicleModel(carid) - 400;
    submitToAdmins(COLOR_AMSG, "/ecar: %s has spawned a %s (vehicle ID %d).", 1,  GetName(playerid), aVehicleNames[model - 400],carid);
    LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
    SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid));
    PutPlayerInVehicleEx(playerid, carid, 0);
    return 1; 
}

 

 

nu stiu daca la asta te referi, amandoua erori se refera la cele cu albastru

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...