Jump to content

Albert Constantin

Membru
  • Posts

    14
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Albert Constantin's Achievements

Apprentice

Apprentice (3/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Aa, eu prost, aveam paranteza aia dupa "playerid" inutila acolo, da :)))) Multumesc mult de ajutor fram! Sanatate!
  2. Mie mi-a compilat bine, doar ca gresisem eu anumite lucruri, pusesem "pRollPints", sau ceva de genu', in loc de Points, din graba, cand scriam la tastatura, si nu m-am uitat ce am scris, imi dadea "simbol nedefinit, dar am reparat, si la un moment dat, pusesem 2 paranteze una sub alta, ce nu-si aveau rosul, si aia era una dintre erorile ce mi le dadea dupa ce am bagat comanda de la tine, dar am sters una, si mi-a compilat perfect. Nedumerirea mea e ca de ce la comanda de la tine mi-a dat erori (pe care ulterior le-am rezolvat), si la mine nici erori, nici compilare reusita
  3. Gata fram, merge absolut perfect. Multumesc! Care era problema, te rog, in caz ca mi se mai intampla, sa stiu s-o rezolv singur. Multumesc mult de ajutor!
  4. Poftim CMD:roll(playerid, params[]) { if(PlayerInfo[playerid][pRollPoints] < 100 return SCM(playerid), -1, "Nu ai 100 Roll Points!"); PlayerInfo[playerid][pRollPints] = 0; Update(playerid, pRollPointsx); new rand = random(30), string[64]; switch(rand) { case 0..15: { new amount = 100000 + random(400000); format(string, sizeof(string), "Ai castigat $%s.", FormatNumber(amount)); SCM(playerid, COLOR_YELLOW, string); GivePlayerCash(playerid, amount); } case 16..20: { PlayerInfo[playerid][pLevel] ++; Update(playerid, pLevelx); format(string, sizeof(string), "Ai castigat 1x Level Up, acum ai level %d.", PlayerInfo[playerid][pLevel]); SCM(playerid, COLOR_YELLOW, string); } case 21..30: { new amount = 1 + random(5); PlayerInfo[playerid][pExp] += amount; Update(playerid, pRP); format(string, sizeof(string), "Ai castigat %d RP-uri.", amount); SCM(playerid, COLOR_YELLOW, string); } } return 1; } EDIT: Pe langa comanda creeata, am mai facut asta la public PayDay if(PlayerInfo[pRollPoints] < 100) PlayerInfo[pRollPoints] += 20, Update(i, pRollPointsx); format(string, sizeof(string), "Roll Points %d/100", PlayerInfo[pRollPoints]); SCM(i, COLOR_YELLOW, string);
  5. Uite, am pus " : ", si aceeasi chestie: https://imgur.com/a/QAqfNmU
  6. da, omisesem asta, dar nu de la asta era problema, tot asa imi apare
  7. Salut, am incercat sa fac un sistem de roll, dar cand compilez, imi apare exact asa: https://imgur.com/a/Bqh0MgI . Nu este vreo eroare, sau ceva, nu am dat scroll, am incercat sa compilez si cu pawno, nu cu Sublime, si exact aceeasi problema(doar ca la pawno, nici macar aia cu "Finished" nu apare). Am lasat sa se incarce, m-am gandit ca poate nu au aparut inca erorile, dar degeaba. Chestia asta se intampla dupa ce scriu ceva, daca sterg treaba cu roll, compileaza absolut normal. Ma puteti ajuta? Multumesc.
  8. nope, exact aceleasi erori. daca vrei, si ai timp, add pe discord la Yellow#7382, si discutam acolo
  9. N-am putut de edit la reply, nu stiu de ce, asa ca mai scriu odata. Scuze Am zis undeva mai sus in GM #define mysql_store_result 131 (numar liber)
  10. Sa-ti zic ce am facut, deci: Am compilat si mi-a dat asta:
  11. @Koqsti-am dat add pe discord, daca e, vorbim acolo, bine? sunt Yellow#7382
  12. Tot ce am schimbat a fost o comanda, am schimbat din /spawnveh in /vspawn, atat, ieri am lucrat putin pe el, si chiar l-am bagat pe local host, a compilat perfect, fara nici o eroare, abia azi mi-a dat erori
  13. Nope, uite aici toata functia: public MySQLCheckCar(carname[]) { new query[128], escstr[MAX_PLAYER_NAME]; mysql_real_escape_string(carname, escstr); format(query, sizeof(query), "SELECT `ID` FROM stock WHERE `Car` = '%s'", escstr); mysql_query(SQL,query); mysql_store_result(); if (mysql_num_rows()==0); { mysql_free_result(); return 0; } else { new strid[32], intid; mysql_fetch_row(strid); intid = strval(strid); mysql_free_result(); return intid; } }
  14. Salut, am si eu erorile astea, ma puteti ajuta va rog? D:\BigZoneGM\gamemodes\BigZoneGM.pwn(3909) : error 029: invalid expression, assumed zero D:\BigZoneGM\gamemodes\BigZoneGM.pwn(3909) : error 029: invalid expression, assumed zero D:\BigZoneGM\gamemodes\BigZoneGM.pwn(3909) : error 001: expected token: ")", but found ";" D:\BigZoneGM\gamemodes\BigZoneGM.pwn(3909) : fatal error 107: too many error messages on one line Linie: mysql_store_result(); Va rog, daca stiti, sa ma puteti ajuta
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.