staKS Posted October 28, 2022 Posted October 28, 2022 case DIALOG_JOBS: { switch(listitem) // in functie de ce alege { case 0: // am facut doar un caz, caz-ul 'Fish' { SetPlayerCheckpoint(playerid, 2380.9233, 548.5172, 7.7802, 5.0); // Daca apasa pe el ii seteaza checkpoint la job. new string[60]; format(string, sizeof(string), "Ti-am pus un checkpoint pe harta (%0.2f m).", GetPlayerDistanceFromPoint(playerid, 2380.9233, 548.5172, 7.7802)); } } } return 1; } EROARE ;002: only a single statement (or expression) can follow each "case"
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