Jump to content

anonim23

Membru
  • Posts

    65
  • Joined

  • Last visited

Everything posted by anonim23

  1. Adica? Eu am facut totul bine + acum ceva saptamani stiu ca il facuse sa mearga dar pe localhost apareau casele iar pe host nu mai apareau, adica iconitele alea gen Onwer X price Y
  2. frt nu am discord si nici nu pot sa-l iau din anumite motive, ma poti ajuta aici/pm/facebook?
  3. Mane bag serveru pe host si da la mode unknow cum fac
  4. @Mister este ok asa? public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { new vehicleid = GetPlayerVehicleID(playerid); new sendername[30]; new string[300]; if(strfind(inputtext, "%", true) != -1) { SendClientMessage(playerid, COLOR_GENANNOUNCE, "SERVER: Invalid dialog input. You can't use %%."); ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_INPUT, "Invalid dialog input", "Invalid dialog input", "OK", "Exit"); return 1; } if(dialogid ==DIA?LOG_ANSWER) {? if(!response) return 1; format(string, sizeof(string), "L-ai votat pe %s!", Lead?erName[listitem]); SCM(playerid, COLOR_YELLOW, string); LeaderVotes[listitem] ++;?? SetPV?arI?nt(playerid, "Voted", 1);?????? }? if(dialogid == 6267) { if(response)
  5. @MisterImi poti spune mai exact unde trb? Asa e la mn. (p.s sunt mai multe chestii in continuare, cu if, case x, etc.) public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { new vehicleid = GetPlayerVehicleID(playerid); new sendername[30]; new string[300]; if(strfind(inputtext, "%", true) != -1) { SendClientMessage(playerid, COLOR_GENANNOUNCE, "SERVER: Invalid dialog input. You can't use %%."); ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_INPUT, "Invalid dialog input", "Invalid dialog input", "OK", "Exit"); return 1; } if(dialogid == 6267) { if(response) { switch(listitem) { case 0: { PlayerInfo[playerid][pColor] = 0; Update(playerid, pColorx); SCM(playerid, COLOR_WHITE,"{CECECE}Server:{FFFFFF} Nick color changed! Hope you like the new color!"); } case 1: { PlayerInfo[playerid][pColor] = 1; Update(playerid, pColorx); SCM(playerid, COLOR_WHITE,"{4169E1}Server:{FFFFFF} Nick color changed! Hope you like the new color!"); } case 2: { PlayerInfo[playerid][pColor] = 2; Update(playerid, pColorx); SCM(playerid, COLOR_WHITE,"{662BBE}Server:{FFFFFF} Nick color changed! Hope you like the new color!"); } case 3: { PlayerInfo[playerid][pColor] = 3; Update(playerid, pColorx); SCM(playerid, COLOR_WHITE,"{FFE600}Server:{FFFFFF} Nick color changed! Hope you like the new color!"); } case 4: { PlayerInfo[playerid][pColor] = 4; Update(playerid, pColorx); SCM(playerid, COLOR_WHITE,"{FF00FF}Server:{FFFFFF} Nick color changed! Hope you like the new color!"); } case 5: { PlayerInfo[playerid][pColor] = 5; Update(playerid, pColorx); SCM(playerid, COLOR_WHITE,"{3FFF3F}Server:{FFFFFF} Nick color changed! Hope you like the new color!"); } case 6: { PlayerInfo[playerid][pColor] = 6; Update(playerid, pColorx); SCM(playerid, COLOR_WHITE,"{83D553}Server:{FFFFFF} Nick color changed! Hope you like the new color!"); } case 7: { PlayerInfo[playerid][pColor] = 7; Update(playerid, pColorx); SCM(playerid, COLOR_WHITE,"{187700}Server:{FFFFFF} Nick color changed! Hope you like the new color!"); } case 8: { PlayerInfo[playerid][pColor] = 8; Update(playerid, pColorx);
  6. @Mister Nu cred, uite ce e dupa/inainte de asta. CMD:answer(playerid, params[]) { if(AnswerNow == 0) return SCM(playerid, -1, "Nu este un sondaj inceput!"); if(PlayerInfo[playerid][pAdmin] != 0 || PlayerInfo[playerid][pHelper] != 0) { } else if(PlayerInfo[playerid][pMember] != FactionAns) return SCM(playerid, -1, "Nu poti vota acum!"); if(GetPVarInt(playerid, "Voted") == 1) return SCM(playerid, -1, "Ai votat deja!"); new members[256]; format(members, sizeof(members), "%s - %d voturi\n%s - %d voturi\n%s - %d voturi", LeaderName[0], LeaderVotes[0], LeaderName[1], LeaderVotes[1], LeaderName[2], LeaderVotes[2]); ShowPlayerDialog(playerid, DIALOG_ANSWER, DIALOG_STYLE_LIST, "Answer", members, "Ok", "Cancel"); return 1; } case DIALOG_ANSWER: { if(!response) return 1; format(string, sizeof(string), "L-ai votat pe %s!", LeaderName[listitem]); SCM(playerid, COLOR_YELLOW, string); LeaderVotes[listitem] ++; SetPVarInt(playerid, "Voted", 1); } Dialog_answer fiind la sfarsitul gm ului
  7. Ai idee? Sau ma poti ajuta prin TW? cv? @Mister
  8. Aceleasi errori.. am schimbat nr u dar tot la fel
  9. Salut, #define DIALOG_ANSWER dar am vzt ca mai era un dialog cu acelasi nr, ii dau compile acum, i-am pus un nr unic, 998.
  10. Salut, sunt mai nou, la inceput. Am incercat sa fac un system de voteleader si imi da errorile astea si nu prea stiu ce sa le fac, am incercat eu ceva dar degeaba. Errorile sunt : (53201) : error 010: invalid function or declaration (53202) : error 010: invalid function or declaration codul : case DIALOG_ANSWER: { //linia 53201 if(!response) return 1; //linia 53202 format(string, sizeof(string), "L-ai votat pe %s!", LeaderName[listitem]); SCM(playerid, COLOR_YELLOW, string); LeaderVotes[listitem] ++; SetPVarInt(playerid, "Voted", 1); }
  11. Salut, am un gm luat de aici dp comunitatea asta. Sunt mai nou in ce priveste scriptingul si am intampinat o problema ca nu ii pot da de cap. Pe localhost apar acele chestii de la bizz-uri/case gen Biz Id:X Owner; x House Id: etc. + comanda /giftbox este facuta in asa fel sa plaseze giftboxul de unde dai tu comanda. Dupa ce am urcat gm u l pe host toate astea au disparut, merge sa te duci in fata intrarii casei/bizzului dai f intri/iesi dar nu apar alea si nici giftbox-ul. Daca ma poate ajuta cineva i-as fii recunoscator. No hate pls, sunt la inceput.
  12. frt imi da o eroare pls ajuta-ma sunt si eu la inceput https://imgur.com/a/Do1IGkb daca m-ai putea ajuta ti-as ramane recunoscator
  13. Salut, nu inteleg chestia cu include, sunt mai nou asa, stiu cum e cu fs-urile si in gm dar nu prea ma pricep, imi poti spune ce trebuie sa fac?
×
×
  • 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.