-
Posts
54 -
Joined
-
Last visited
About xlion99x
- Birthday 02/02/2000
Profile Information
-
Sex
Masculin
-
Location
Los Santos
-
In-game Name
xlion99x
-
Level of knowledge
Începător
Contact Methods
-
Discord
Andrei#6668
- Website URL
Recent Profile Visitors
437 profile views
xlion99x's Achievements
-
RE. Imi poti da Add pe Discord sa ma ajuti te rog? Imi da Unknown Mode.. Discord: Andrei_Acj#8842
-
xlion99x changed their profile photo
-
Cu tot respectul, nu am mai facut asa ceva de mult si nu prea le mai am deloc. Daca imi poti spune te rog exact ce sa adaug/modific?
-
xlion99x started following Vehicle info on player enter in car , Pawno Warning , Getplayerskin and 1 other
-
Salut, am aceste warninguri la un sistem de garaje (include). garage_system.inc(773) : warning 213: tag mismatch garage_system.inc(1012) : warning 213: tag mismatch garage_system.inc(1027) : warning 213: tag mismatch garage_system.inc(1052) : warning 213: tag mismatch Cand parchez o masina in garaj totul e in regula, apare in garaj etc, dar cand ies de pe server si intru iar masina nu mai este in garaj, adica este, dar este in alt vw, mai exact vw 0, iar eu sunt in vw 53 cand intru in garaj. As aprecia foarte mult daca m ar ajuta cineva. function vehicles_in_garage(playerid) { new x; for(new i = 0; i < 10; i++) { if(PlayerInfo[playerid][pCarKey] == 0 && CarInfo[PlayerInfo[playerid][pCarKey]][cVirtual] == 0) x++; (linia 773) } return x; } CMD:park(playerid, params[]) { new car = GetPlayerVehicleID(playerid); if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Nu esti in vehiculul tau."); if(GetVehicles(playerid) == 0) return SendClientMessage(playerid, COLOR_GREY, "Nu ai un vehicul personal!"); if(PersonalCar(playerid) == -1) return SCM(playerid, COLOR_LGREEN, "Eroare: Nu esti in unul dintre vehiculele tale personale!"); if(GetPlayerState(playerid) != 2) return SCM(playerid, COLOR_LGREEN, "* Trebuie sa fii la volan pentru a putea folosi aceasta comanda!"); new idd = PersonalCar(playerid); new Float: vhp; GetVehicleHealth(car, vhp); if(vhp < 800) return SendClientMessage(playerid, COLOR_GREY, "Nu poti parca masina cand are sub 800 'viata'!"); if(PlayerToPoint(150.0, playerid, 1716.9065,-1902.4526,13.5661)) return SCM(playerid, -1, "Nu poti parca o masina in jurul spawn-ului."); new Float:x, Float:y, Float:z, Float:a; CheckVehicle(CarInfo[idd][Spawned]); saveTuning(playerid, CarInfo[idd][Spawned]); GetVehiclePos(car, x, y, z); GetVehicleZAngle(car, a); CarInfo[idd][cVirtual] = 0; (linia 1012) if(GetPVarInt(playerid, "inGarage") != 0) { if(garage_slot(playerid, 0) == -1) x = 481.85, y = -405.426, z = 2758.0046; else if(garage_slot(playerid, 1) == -1) x = 481.85, y = -410.9, z = 2758.0046; else if(garage_slot(playerid, 2) == -1) x = 481.85, y = -416.301, z = 2758.0046; else if(garage_slot(playerid, 3) == -1) x = 481.85, y = -421.104, z = 2758.0046; else if(garage_slot(playerid, 4) == -1) x = 481.85, y = -425.924, z = 2758.0046; else if(garage_slot(playerid, 5) == -1) x = 493.998, y = -405.426, z = 2758.0046; else if(garage_slot(playerid, 6) == -1) x = 493.998, y = -410.9, z = 2758.0046; else if(garage_slot(playerid, 7) == -1) x = 493.998, y = -416.301, z = 2758.0046; else if(garage_slot(playerid, 8 ) == -1) x = 493.998, y = -421.104, z = 2758.0046; else if(garage_slot(playerid, 9) == -1) x = 493.998, y = -425.924, z = 2758.0046; if(x == 481.85) a = -131.1600; if(x == 493.998) a = 131.1600; CarInfo[idd][cVirtual] = GetPVarInt(playerid, "inGarage"); (linia 1027) SCM(playerid, COLOR_GRAD3, "Your vehicle was parked in the garage."); } CarInfo[idd][cLocationx] = x; CarInfo[idd][cLocationy] = y; CarInfo[idd][cLocationz] = z; CarInfo[idd][cAngle] = a; VehicleOwned[CarInfo[idd][Spawned]] = 0; VehicleSQL[CarInfo[idd][Spawned]] = 0; DestroyVehicle(car); if(CarInfo[idd][cNeon] != 0) { DestroyDynamicObject(neon[0][CarInfo[idd][Spawned]]); DestroyDynamicObject(neon[1][CarInfo[idd][Spawned]]); neon[0][CarInfo[idd][Spawned]] = 0; neon[1][CarInfo[idd][Spawned]] = 0; } if(strlen(CarInfo[idd][cText]) >= 3) { DestroyDynamicObject(nameobject[CarInfo[idd][Spawned]]); } CarInfo[idd][Spawned] = CreateVehicleEx(CarInfo[idd][cModel],CarInfo[idd][cLocationx],CarInfo[idd][cLocationy],CarInfo[idd][cLocationz],CarInfo[idd][cAngle],CarInfo[idd][cColorOne],CarInfo[idd][cColorTwo],-1); SetVehicleVirtualWorld(CarInfo[idd][Spawned], CarInfo[idd][cVirtual]); (linia 1052) VehicleOwned[CarInfo[idd][Spawned]] = CarInfo[idd][Spawned]; VehicleSQL[CarInfo[idd][Spawned]] = idd; if(CarInfo[idd][cNeon] != 0) { new h = CarInfo[idd][Spawned]; if(CarInfo[idd][cNeon] == 1) { neon[0][h] = CreateDynamicObject(18648,0,0,0,0,0,0); neon[1][h] = CreateDynamicObject(18648,0,0,0,0,0,0); } else if(CarInfo[idd][cNeon] == 2) { neon[0][h] = CreateDynamicObject(18649,0,0,0,0,0,0); neon[1][h] = CreateDynamicObject(18649,0,0,0,0,0,0); } else if(CarInfo[idd][cNeon] == 3) { neon[0][h] = CreateDynamicObject(18650,0,0,0,0,0,0); neon[1][h] = CreateDynamicObject(18650,0,0,0,0,0,0); } else if(CarInfo[idd][cNeon] == 4) { neon[0][h] = CreateDynamicObject(18652,0,0,0,0,0,0); neon[1][h] = CreateDynamicObject(18652,0,0,0,0,0,0); } else if(CarInfo[idd][cNeon] == 5) { neon[0][h] = CreateDynamicObject(18651,0,0,0,0,0,0); neon[1][h] = CreateDynamicObject(18651,0,0,0,0,0,0); } else if(CarInfo[idd][cNeon] == 6) { neon[0][h] = CreateDynamicObject(18647,0,0,0,0,0,0); neon[1][h] = CreateDynamicObject(18647,0,0,0,0,0,0); } AttachDynamicObjectToVehicle(neon[0][h], h, -0.8, 0.0, -0.70, 0.0, 0.0, 0.0); AttachDynamicObjectToVehicle(neon[1][h], h, 0.8, 0.0, -0.70, 0.0, 0.0, 0.0); } attach_vip_text(idd); SetTunning(idd); SetVehicleNumberPlate(CarInfo[idd][Spawned], CarInfo[idd][cLicense]); saveCar(idd); new Float: Pos[3]; GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]); CarInfo[idd][cLastPos][0] = Pos[0]; CarInfo[idd][cLastPos][1] = Pos[1]; CarInfo[idd][cLastPos][2] = Pos[2]; return 1; }
-
Asta e codul care seteaza skinul playerilor noi, iar acel skin 250 nu se schimba in baza de date cand cineva isi schimba skinul la magazin sau prin setskin.
-
Salut, am cumparat recent un panel de la wcode. Mi-au instalat ei panelul si tot ce trebuia. Dar am o problema, skinurile de pe panel nu se schimba cu cele din joc. Pe panel sunt doar cele default, 250. Cei de la wcode mi-au spus ca nu merge deoarece in php la users, 'model' este doar 250 la fiecare player pentru ca asa este setat skinul cand te inregistrezi pe server. Dar cand schimb skinul cu /setskin sau /clothes tot nu se schimba pe panel sau in baza de date. Am auzit ca ar trebuii sa pun functia Getplayerskin, dar nu stiu cum si unde mai exact. Ma puteti ajuta va rog frumos?
-
Multumesc frumos, +1
-
Salut, am urmatorul warning: (15152) : warning 213: tag mismatch Ma puteti ajuta va rog frumos? function LoadCar(id) { if(CarInfo[id][cModel] != 0) return 1; new query[256]; mysql_format(SQL, query, 128, "SELECT * FROM `cars` WHERE `ID`='%d'", id); new Cache: db = mysql_query(SQL, query); new i = 0; CarInfo[id][cID] = id; CarInfo[id][cModel] = cache_get_field_content_int(i, "Model"); CarInfo[id][cLocationx] = cache_get_field_content_float(i, "Locationx"); CarInfo[id][cLocationy] = cache_get_field_content_float(i, "Locationy"); CarInfo[id][cLocationz] = cache_get_field_content_float(i, "Locationz"); CarInfo[id][cAngle] = cache_get_field_content_float(i, "Angle"); (15152) CarInfo[id][cDays] = cache_get_field_content_float(i, "Days"); -asta e linia cu warningul CarInfo[id][cColorOne] = cache_get_field_content_int(i, "ColorOne"); CarInfo[id][cColorTwo] = cache_get_field_content_int(i, "ColorTwo"); cache_get_field_content(i, "Owner", CarInfo[id][cOwner], SQL, 129); cache_get_field_content(i, "Text", CarInfo[id][cText], SQL, 129); CarInfo[id][cTextColor] = cache_get_field_content_int(i, "ColorText"); CarInfo[id][cValue] = cache_get_field_content_int(i, "Value"); cache_get_field_content(i, "License", CarInfo[id][cLicense], SQL, 129); CarInfo[id][cAlarm] = cache_get_field_content_int(i, "Alarm"); CarInfo[id][cLock] = cache_get_field_content_int(i, "Lockk"); CarInfo[id][mod0] = cache_get_field_content_int(i, "mod0"); CarInfo[id][mod1] = cache_get_field_content_int(i, "mod1"); CarInfo[id][mod2] = cache_get_field_content_int(i, "mod2"); CarInfo[id][mod3] = cache_get_field_content_int(i, "mod3"); CarInfo[id][mod4] = cache_get_field_content_int(i, "mod4"); CarInfo[id][mod5] = cache_get_field_content_int(i, "mod5"); CarInfo[id][mod6] = cache_get_field_content_int(i, "mod6"); CarInfo[id][mod7] = cache_get_field_content_int(i, "mod7"); etc
-
Salut, ma puteti ajuta va rog cu asta? Am vrut sa adaug vehicle info cand intrii in masina gen sa apara in chat ca masina e detinuta de... are ..zile etc. (5594) : error 075: input line too long (after substitutions) (5595) : error 012: invalid function call, not a valid address (5595) : error 017: undefined symbol "newcar" (5595) : error 029: invalid expression, assumed zero (5595) : fatal error 107: too many error messages on one line else if(CarInfo[carid][cID] != -2 && carid != 0) { (5594)KillTimer(VehicleTimer[carid]); (5595)format(string,sizeof(string),"This %s (ID %d) is owned by %s | Age: %d days | Odometer: %.0f km | Insurance: $%d (%d points) | Colors: %d, %d {FFFF00}[VIP]",CarInfo[VehicleOwned(newcar)][cDescription],CarInfo[VehicleOwned(newcar)][cID],CarInfo[VehicleOwned(newcar)][cOwner],CarInfo[VehicleOwned(newcar)][cDays],CarInfo[VehicleOwned(newcar)][cKM],CarInfo[VehicleOwned(newcar)][cInscarprice],CarInfo[VehicleOwned(newcar)][cInsurancecar],CarInfo[VehicleOwned(newcar)][cColorOne],CarInfo[VehicleOwned(newcar)][cColorTwo]); SendClientMessage(playerid, COLOR_WHITE, string); if(CarInfo[carid][cPoints] == 0) { SCM(playerid, COLOR_GREY, "Acest vehicul nu are asigurarea platita!"); new engine,lights,alarm,doors,bonnet,boot,objective; GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective); SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective); vehEngine[vehicleid] = 0; } }
-
Salut, ma puteti ajuta va rog cu asta? Am vrut sa adaug vehicle info. (5594) : error 075: input line too long (after substitutions) (5595) : error 012: invalid function call, not a valid address (5595) : error 017: undefined symbol "newcar" (5595) : error 029: invalid expression, assumed zero (5595) : fatal error 107: too many error messages on one line else if(CarInfo[carid][cID] != -2 && carid != 0) { (5594)KillTimer(VehicleTimer[carid]); (5595)format(string,sizeof(string),"This %s (ID %d) is owned by %s | Age: %d days | Odometer: %.0f km | Insurance: $%d (%d points) | Colors: %d, %d {FFFF00}[VIP]",CarInfo[VehicleOwned(newcar)][cDescription],CarInfo[VehicleOwned(newcar)][cID],CarInfo[VehicleOwned(newcar)][cOwner],CarInfo[VehicleOwned(newcar)][cDays],CarInfo[VehicleOwned(newcar)][cKM],CarInfo[VehicleOwned(newcar)][cInscarprice],CarInfo[VehicleOwned(newcar)][cInsurancecar],CarInfo[VehicleOwned(newcar)][cColorOne],CarInfo[VehicleOwned(newcar)][cColorTwo]); SendClientMessage(playerid, COLOR_WHITE, string); if(CarInfo[carid][cPoints] == 0) { SCM(playerid, COLOR_GREY, "Acest vehicul nu are asigurarea platita!"); new engine,lights,alarm,doors,bonnet,boot,objective; GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective); SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective); vehEngine[vehicleid] = 0; } }
-
1/5 Nu ai prea mult spatiu sa pui masinile factiunii.
-
La ce te referi mai exact?
-
https://imgur.com/a/KPGyMWG
-
function LoadProperty() { new result[100],index = 0; mysql_query(SQL,"SELECT * FROM `houses` ORDER BY `houses`.`ID` ASC"); mysql_store_result(); while(mysql_retrieve_row()) { housess++; index++; new i = index; mysql_get_field("ID", result); HouseInfo[hID] = strval(result); mysql_get_field("Entrancex", result); HouseInfo[hEntrancex] = floatstr(result); mysql_get_field("Entrancey", result); HouseInfo[hEntrancey] = floatstr(result); mysql_get_field("Entrancez", result); HouseInfo[hEntrancez] = floatstr(result); mysql_get_field("Exitx", result); HouseInfo[hExitx] = floatstr(result); mysql_get_field("Exity", result); HouseInfo[hExity] = floatstr(result); mysql_get_field("Exitz", result); HouseInfo[hExitz] = floatstr(result); mysql_get_field("Owner", result); strmid(HouseInfo[hOwner], result, 0, 32, 32); mysql_get_field("Discription", result); strmid(HouseInfo[hDiscription], result, 0, 24, 24); mysql_get_field("Value", result); HouseInfo[hValue] = strval(result); mysql_get_field("Hel", result); HouseInfo[hHel] = strval(result); mysql_get_field("Arm", result); HouseInfo[hArm] = strval(result); mysql_get_field("Interior", result); HouseInfo[hInterior] = strval(result); mysql_get_field("Lockk", result); HouseInfo[hLock] = strval(result); mysql_get_field("Owned", result); HouseInfo[hOwned] = strval(result); mysql_get_field("Rent", result); HouseInfo[hRent] = strval(result); mysql_get_field("Rentabil", result); HouseInfo[hRentabil] = strval(result); mysql_get_field("Takings", result); HouseInfo[hTakings] = strval(result); mysql_get_field("Level", result); HouseInfo[hLevel] = strval(result); mysql_get_field("Virtual", result); HouseInfo[hVirtual] = strval(result); mysql_get_field("Radio", result); HouseInfo[hRadio] = strval(result); UpdateLabel(1,HouseInfo[hID]); } mysql_free_result(); printf("Houses: %d", index); return 1; }