Powed Posted May 16, 2021 Posted May 16, 2021 Linia 7629 incepe cu case DIALOG_BONUS ; case DIALOG_BONUS ; { if(!response) return true; new money[180], premium[180]; switch(listitem) { case 0: { GiveVehicle(playerid, 426, 0, 0, 0, 0, 0); format(money, sizeof(money), "$2.500.000\n"); format(premium, sizeof(premium), "25 premium points\n"); strcat(money,premium); ShowPlayerDialog(playerid, DIALOG_BONUS+1, DIALOG_STYLE_LIST, "Bonus", money, "OK", "Close"); }
testX Posted May 16, 2021 Posted May 16, 2021 Ce e cu loose identation nu este aranjat scriptul, unde e symbol is never used inseamna ca a fost definit si nu este utilizat ce inseamna ca poate fi sters, iar la restul trebuie sa vad exact scriptul, dialogul nu are nicio problema
Akan Posted May 16, 2021 Posted May 16, 2021 Acum 5 ore, Powed a spus: Linia 7629 incepe cu case DIALOG_BONUS ; case DIALOG_BONUS ; { if(!response) return true; new money[180], premium[180]; switch(listitem) { case 0: { GiveVehicle(playerid, 426, 0, 0, 0, 0, 0); format(money, sizeof(money), "$2.500.000\n"); format(premium, sizeof(premium), "25 premium points\n"); strcat(money,premium); ShowPlayerDialog(playerid, DIALOG_BONUS+1, DIALOG_STYLE_LIST, "Bonus", money, "OK", "Close"); } Iti apare acea eroare la linia 7629 deoarece trebuie să pui case DIALOG_BONUS: în loc de case DIALOG_BONUS ; Adică 'două puncte' în loc de 'punct și virgulă' la sfârșit. Discord: ! Akan !#6675
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now