Posts: 6,129
Threads: 36
Joined: Jan 2009
Use this code instead:
pawn Код:
if(dialogid == DRZAVA) {
switch(listitem) {
case 0..4: PlayerInfo[playerid][pOrigin] = listitem+1;
}
}
Posts: 4,878
Threads: 85
Joined: Jun 2007
Reputation:
0
Check your brackets in the lines just before this code. Theres probably a } too much, so the function is closed and code like this outside of a function doesnt work.
PS: capslock = false, please
Posts: 4,878
Threads: 85
Joined: Jun 2007
Reputation:
0
Nope I cant, as the error is in the lines before the code you posted + I am not your scripter and cant give ready code to everyone.
Remove the first } before the error lines and retry it.