-
Posts
490 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
News
Documentation
Posts posted by TheGodfather
-
-
Acum 29 minute, StrikerM a spus:
Vezi sa ai ultima versiune de streamer plugin si .inc.
Le-am descarcat si tot la fel face
-
Salut, are cineva idee de ce se fac mai negre girofarurile dupa ce masina explodeaza/se respawneaza?
-
-
sultan cu stage 3 si viteza maxima 159km, ar trebui sa aiba +200 cu stage 3 dar nu se updateaza in baza de date
-
De updatat se updtateaza corect nivelul de stage, dar viteza nu, de ex infernus cu stage 1 ramane tot la 209, in loc de 219 chiar daca e stage 1. Dar merge cu 219 in joc
-
case DIALOG_UPSTAGE: {
if(!response) return true;
new idd = PersonalCar(playerid);
if(CarInfo[idd][cStage] >= 3) return SCM(playerid, -1, "Acest vehicul este upgradat la stage maximum!");
if(PlayerInfo[playerid][pPremiumPoints] < StagePrice[0][CarInfo[idd][cStage]+1]) return SCM(playerid, -1, "Nu ai destule Premium Points.");
if(IsABike(CarInfo[idd][Spawned])) return SCM(playerid, COLOR_LGREEN, "Eroare: Nu poti upgrada acest vehicul!");
PlayerInfo[playerid][pPremiumPoints] -= StagePrice[0][CarInfo[idd][cStage]+1];
Iter_Add(IsSpeed, playerid);
Update(playerid, pPremiumPointsx);
SCMEx(playerid, COLOR_WHITE, "{227FC3}Tunning System: {FFFFFF}You upgrade your vehicle successfully to stage %d for %d premium points.", CarInfo[idd][cStage]+1, StagePrice[0][CarInfo[idd][cStage]+1]);
mysql_format(SQL, string, sizeof(string), "UPDATE `cars` SET `Stage`='%d' WHERE `ID`='%d'", CarInfo[idd][cStage]+1, CarInfo[idd][cID]);
mysql_tquery(SQL, string, "", "");
CarInfo[idd][cStage] ++;
format(string, sizeof(string), "Your vehicle is~y~ %s~n~~w~~h~Max. speed:~y~ %d km/h~n~~w~~h~Current stage:~y~ %d/3~w~~h~~n~boost: ~y~+%d km/h~w~~h~ / ~b~ %d km/h"
,aVehicleNames[GetVehicleModel(GetPlayerVehicleID(playerid))-400], CarInfo[idd][cMaxSpeed], CarInfo[idd][cStage],StageSpeed[0][CarInfo[idd][cStage]], CarInfo[idd][cMaxSpeed]+StageSpeed[0][CarInfo[idd][cStage]]);
PlayerTextDrawSetString(playerid, StagePTD, string);
}YCMD:givevehicle(playerid, params[], help) {
if(PlayerInfo[playerid][pAdmin] < 7) return SendClientMessage(playerid, COLOR_WHITE, AdminOnly);
new id, model, string[180],temporar;
if(sscanf(params, "uii", id, model, temporar)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: {FFFFFF}/givevehicle <playerid/name> <model> <temporar>");
if(!IsPlayerConnected(id) || id == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_GREY, "Acel player nu este conectat.");
else if(GetSlots(id) <= Iter_Count(MyVehicle[id])) return SCM(playerid, -1, "Acel player are numarul maxim de masini personale! Isi poate cumpara un slot din /shop.");
format(string, sizeof(string), "* Ai primit un %s de la administratorul %s.", aVehicleNames[model-400], GetName(playerid));
SCM(id, COLOR_YELLOW, string);
format(string, sizeof(string), "* I-ai dat lui %s un %s.", GetName(id), aVehicleNames[model-400]);
SCM(playerid, COLOR_YELLOW, string);
GiveVehicle(id, model, 0, 0, 0, 0, temporar);
return true; -
Acum 17 minute, LucaPawnL a spus:
trebuie defenit, ID-ul masinii + boost-ul de cati km sa mearga in plus
La majoritatea masinilor merge corect stage-ul, doar unele nu. Plus ca daca jucatorul vinde masina, si ii dau una cu /givevehicle, sistemul o sa functioneze corect
-
Doar bugul asta trebuie sa il rezolv
-
Salut, am gasit un bug la acest gamemode si nu stiu cum sa il rezolv. La unele masini, nu functioneaza sistemul de stage, chiar daca este upgradat la maxim/orice nivel de stage. De exemplu, daca am stage 3 pe un sultan, acesta tot cu 169 km o sa mearga, chiar daca ar trebui sa prinda 200+
-
Salut, as vrea sa fac un server de samp RPG dar nu am scripter si nici staff, pentru cei interesati, ip: 91.121.87.14:3814
Obiect 19419
in Ajutor Scripting
Posted
O sa incerc, mersi