-
Posts
36 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
rObY.'s Achievements
-
am sa iau in considerare ceea ce mi-ai spus, multumesc mult! am rezolvat, puteti inchide.
-
Problema este ca, neoanele se pun dupa restart-ul serverului. Iar eu vreau sa se puna in timp real.
-
Ideea este ca, acum am observat, vipname-ul se pune dupa restart-ul serverului.
-
function SetVipText(playerid, idcar) { new string[128]; if(strlen(CarVipName[playerid][idcar]) > 0) { DestroyObject(vObject[PlayerInfo[playerid][pCarID][idcar]]); vObject[PlayerInfo[playerid][pCarID][idcar]] = CreateObject(19327,0,0,-1000,0,0,0,100); format(string, sizeof(string), "{%s}%s", serverPremiumColors(PlayerInfo[playerid][pCarVipColor][idcar]), CarVipName[playerid][idcar]); SetObjectMaterialText(vObject[PlayerInfo[playerid][pCarID][idcar]], string, 0, OBJECT_MATERIAL_SIZE_256x128, "Arial", 30, 1, 0xFFFFFFFF, 0, 1); if(PlayerInfo[playerid][pCarModel][idcar] == 411) AttachObjectToVehicle(vObject[PlayerInfo[playerid][pCarID][idcar]], PlayerInfo[playerid][pCarID][idcar], -0.029999, -1.974998, 0.233999, -84.824964, 0.000000, 0.000000); else if(PlayerInfo[playerid][pCarModel][idcar] == 541) AttachObjectToVehicle(vObject[PlayerInfo[playerid][pCarID][idcar]], PlayerInfo[playerid][pCarID][idcar], 0.000000, -1.649998, 0.390999, -76.379989, 0.000000, 0.000000); else if(PlayerInfo[playerid][pCarModel][idcar] == 560) AttachObjectToVehicle(vObject[PlayerInfo[playerid][pCarID][idcar]], PlayerInfo[playerid][pCarID][idcar], 0.000000, -0.614999, 0.799999, -88.439956, 0.000000, 0.000000); } return true; }
-
Cand dau /vipname, nu mi se pune text-ul pe masina. CMD:vipname(playerid, params[]) { if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, COLOR_GREY, "Nu esti intr-un vehicul!"); new carid = GetPlayerVehicleID(playerid),idcar=-1; for(new vv; vv < MAX_PERSONAL_VEHICLES; vv++) { if(carid == PlayerInfo[playerid][pCarID][vv]) { idcar = vv; } } if(idcar == -1) return SCM(playerid, COLOR_LGREEN, "Poti folosi aceasta comanda doar pe vehicule VIP."); if(carid == PlayerInfo[playerid][pCarID][idcar]) { if(PlayerInfo[playerid][pCarVIP][idcar] > 0) { new query[256],text[20],test[20]; if(sscanf(params, "s[20]", text)) return SCM(playerid,COLOR_DCHAT, "Syntax:{ffffff} /vipname [vipname text]"); if(strlen(text) > 20) return SCM(playerid, COLOR_LGREEN, "Maximum 20 characters are allowed."); if(strlen(text) == 0) return 1; format(CarVipName[playerid][idcar], 20, text); SetVipText(playerid, idcar); mysql_real_escape_string(text, test); mysql_format(SQL, query, sizeof(query), "UPDATE `cars` SET `VipText`='%s' WHERE `ID`='%d'", test, PlayerInfo[playerid][pCar][idcar]); mysql_tquery(SQL, query, "", ""); format(query, sizeof(query), "Text pentru vehicul setat: %s", text); SCM(playerid, COLOR_ADMCOMMANDS, query); } else return SCM(playerid, COLOR_LGREEN, "Poti folosi aceasta comanda doar pe vehicule VIP."); } else return SCM(playerid, COLOR_LGREEN, "Poti folosi aceasta comanda doar pe vehicule VIP."); return true; }
-
Sau, cred ca de aici este problema? scz pt x2, dar nu puteam sa dau edit. case DIALOG_NEONS: { if(!response) return 1; switch(listitem) { case 0: { new idcar = SelectedCar[playerid]; if(PlayerInfo[playerid][pCarNeon][idcar] != 0) return SCM(playerid, -1, "You already have a neon on this car."); if(PlayerInfo[playerid][pNeonR] == 0) return SCM(playerid, -1, "You don't have a red neon."); PlayerInfo[playerid][pNeonR]--; pUpdateInt(playerid, "NeonR", PlayerInfo[playerid][pNeonR]); PlayerInfo[playerid][pCarNeon][idcar] = 1; cUpdate(playerid, idcar, cCarNeonx); if(PlayerInfo[playerid][pCarID][idcar] != 0) AttachNeon(playerid, idcar); SCM(playerid, -1, "You attached a red neon on this car."); //red } case 1: { new idcar = SelectedCar[playerid]; if(PlayerInfo[playerid][pCarNeon][idcar] != 0) return SCM(playerid, -1, "You already have a neon on this car."); if(PlayerInfo[playerid][pNeonV] == 0) return SCM(playerid, -1, "You don't have a green neon."); PlayerInfo[playerid][pNeonV]--; pUpdateInt(playerid, "NeonV", PlayerInfo[playerid][pNeonV]); PlayerInfo[playerid][pCarNeon][idcar] = 2; cUpdate(playerid, idcar, cCarNeonx); if(PlayerInfo[playerid][pCarID][idcar] != 0) AttachNeon(playerid, idcar); SCM(playerid, -1, "You attached a green neon on this car."); //green } case 2: { new idcar = SelectedCar[playerid]; if(PlayerInfo[playerid][pCarNeon][idcar] != 0) return SCM(playerid, -1, "You already have a neon on this car."); if(PlayerInfo[playerid][pNeonG] == 0) return SCM(playerid, -1, "You don't have a yellow neon."); PlayerInfo[playerid][pNeonG]--; pUpdateInt(playerid, "NeonG", PlayerInfo[playerid][pNeonG]); PlayerInfo[playerid][pCarNeon][idcar] = 3; cUpdate(playerid, idcar, cCarNeonx); if(PlayerInfo[playerid][pCarID][idcar] != 0) AttachNeon(playerid, idcar); SCM(playerid, -1, "You attached a yellow neon on this car."); //yellow } case 3: { new idcar = SelectedCar[playerid]; if(PlayerInfo[playerid][pCarNeon][idcar] != 0) return SCM(playerid, -1, "You already have a neon on this car."); if(PlayerInfo[playerid][pNeonRZ] == 0) return SCM(playerid, -1, "You don't have a pink neon."); PlayerInfo[playerid][pNeonRZ]--; pUpdateInt(playerid, "NeonRZ", PlayerInfo[playerid][pNeonRZ]); PlayerInfo[playerid][pCarNeon][idcar] = 4; cUpdate(playerid, idcar, cCarNeonx); if(PlayerInfo[playerid][pCarID][idcar] != 0) AttachNeon(playerid, idcar); SCM(playerid, -1, "You attached a pink neon on this car."); //pink } case 4: { // blue new idcar = SelectedCar[playerid]; if(PlayerInfo[playerid][pCarNeon][idcar] != 0) return SCM(playerid, -1, "You already have a neon on this car."); if(PlayerInfo[playerid][pNeonA] == 0) return SCM(playerid, -1, "You don't have a blue neon."); PlayerInfo[playerid][pNeonA]--; pUpdateInt(playerid, "NeonA", PlayerInfo[playerid][pNeonA]); PlayerInfo[playerid][pCarNeon][idcar] = 5; cUpdate(playerid, idcar, cCarNeonx); if(PlayerInfo[playerid][pCarID][idcar] != 0) AttachNeon(playerid, idcar); SCM(playerid, -1, "You attached a blue neon on this car."); } case 5: { new idcar = SelectedCar[playerid]; if(PlayerInfo[playerid][pCarNeon][idcar] == 0) return SCM(playerid, -1, "You don't have a neon on this car."); PlayerInfo[playerid][pCarNeon][idcar] = 0; cUpdate(playerid, idcar, cCarNeonx); if(PlayerInfo[playerid][pCarID][idcar] != 0) AttachNeon(playerid, idcar); SCM(playerid, -1, "You removed the neon from this car."); } } }
-
Salutare, am si eu o problema cu neoanele. Cumpar neonul din /shop, il aplic pe masina, dar nu se ataseaza in nici-un fel neon-ul de masina. ( nu apare neonul deloc ) function AttachNeon(playerid, idcar) { if(PlayerInfo[playerid][pCarNeon][idcar] != 0) { new neoooonss; if(PlayerInfo[playerid][pCarNeon][idcar] == 1) neoooonss = 18647; else if(PlayerInfo[playerid][pCarNeon][idcar] == 2) neoooonss = 18649; else if(PlayerInfo[playerid][pCarNeon][idcar] == 3) neoooonss = 18650; else if(PlayerInfo[playerid][pCarNeon][idcar] == 4) neoooonss = 18651; else if(PlayerInfo[playerid][pCarNeon][idcar] == 5) neoooonss = 18648; DestroyObject(Neons[0][PlayerInfo[playerid][pCarID][idcar]]); DestroyObject(Neons[1][PlayerInfo[playerid][pCarID][idcar]]); Neons[0][PlayerInfo[playerid][pCarID][idcar]] = CreateObject(neoooonss,0,0,0,0,0,0); Neons[1][PlayerInfo[playerid][pCarID][idcar]] = CreateObject(neoooonss,0,0,0,0,0,0); AttachObjectToVehicle(Neons[0][PlayerInfo[playerid][pCarID][idcar]], PlayerInfo[playerid][pCarID][idcar],-0.8, 0.0, -0.50, 0.0, 0.0, 0.0); AttachObjectToVehicle(Neons[1][PlayerInfo[playerid][pCarID][idcar]], PlayerInfo[playerid][pCarID][idcar],0.8, 0.0, -0.50, 0.0, 0.0, 0.0); } else { DestroyObject(Neons[0][PlayerInfo[playerid][pCarID][idcar]]); DestroyObject(Neons[1][PlayerInfo[playerid][pCarID][idcar]]); Neons[0][PlayerInfo[playerid][pCarID][idcar]] = 0; Neons[1][PlayerInfo[playerid][pCarID][idcar]] = 0; } return true; }
-
rObY. changed their profile photo
-
salutare, vand 2 conturi de pe ruby nephrite. (level 7 - iphone si premium account) // (level 23 - iphone, accesori premium, rubine, gems, bullet x2 vip neon + 1.1kkk$ + multe altele) vand cont boosteroid.com, pret 6 euro paypal - a fost inregistrat acum 3 zile. # Pentru mai multe detalii, dati-mi add pe discord: roberto_#3149
-
vand cont boosteroid, inregistrat si cumparat acum 5 minute. nu-mi place cum imi merge mie pe laptop, imi merge laguit din cauza vitezei de internet (am o retea slaba aici) pretul este de 8 euro paypal sau un cont gta v | facem cu intermediar.
-
asa merge, dar imi apare imaginea jocului doar pe mijlocul ecranului ca si cum widescreen-ul ar fii pe OFF dar totusi e pe ON. am schimbat si rezolutia, dar degeaba.
-
Salut, mi-am instalat windows 8.1 iar cand intru in sa-mp si dau sa intru pe un server, la 80% iau crash. Am sters si gta_set ala din documente dar degeaba, aceeasi chestie. Din cate am vazut, este de la compatibilitate dar am setat-o si pe aia conform unui tutorial. Ma poate ajuta cineva?
-
titlu, astept pm cu poze si pret. sa nu fie gamemode-uri care mai sunt pe 1000 de servere, macar sa fie putin editate si optimizate sa nu poate orice 'hacker' sa sparga server-ul. iar despre sisteme, sa fie ceva complex si bine lucrat.
-
mai doresti sa cumperi cont?
-
Salut, am de gand sa realizez un 'proiect' frumos cu un server de sa-mp. Asadar, caut un partener cu care pot lucra dar sa aibe o varsta minima de 17-18 ani si cu experienta in scripting. Eu detin website-ul deja iar server-ul il vom cumpara la comun acord. Sau daca dispuneti voi de server, eu va pot ajuta sa afiliati serverul la mine pe comunitate si sa facem ceva de lunga durata. Ma puteti contacta printr-un pm sau ma puteti adauga pe discord, roberto_#3149