Miki Romania Posted November 27, 2020 Posted November 27, 2020 Help, cand dau compile imi da eroarea asta "error 040: duplicate "case" label (value 5)" Asta e linia: Quote case DIALOG_JOBS: { new string[256]; if(!response) return 1; listitem = GetPVarInt(playerid, "listitem"); switch(listitem) { case 0: { format(string, sizeof(string), "Ti-am trimis coordonatele de la jobul Farmer"); SetPlayerCheckpoint(playerid, -382.7026,-1426.6471,26.2501, 5.0); } case 1: { format(string, sizeof(string), "Esti ok?"); } } SCM(playerid, COLOR_WHITE, string); } Si astea sunt dialog-urile de le am: Quote enum { //REGISTER DIALOG_REGISTER, DIALOG_EMAIL, DIALOG_GENDER, //Login// DIALOG_LOGIN, //RENT// DIALOG_RENT, //Jobs// DIALOG_JOBS }
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