ORIGIN PLEASE! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: ORIGIN PLEASE! (
/showthread.php?tid=265675)
Deleted -
SERBIAN - 01.07.2011
Deleted
Re: ORIGIN PLEASE! -
Calgon - 02.07.2011
Use this code instead:
pawn Код:
if(dialogid == DRZAVA) {
switch(listitem) {
case 0..4: PlayerInfo[playerid][pOrigin] = listitem+1;
}
}
Re: ORIGIN PLEASE! -
SERBIAN - 02.07.2011
Deleted
Re: ORIGIN PLEASE! -
Mauzen - 02.07.2011
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
Re: ORIGIN PLEASE! -
SERBIAN - 02.07.2011
Deleted
Re: ORIGIN PLEASE! -
Mauzen - 02.07.2011
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.
Re: ORIGIN PLEASE! -
SERBIAN - 02.07.2011
Deleted
Re: ORIGIN PLEASE! -
Mauzen - 02.07.2011
Quote:
Originally Posted by Mauzen
Remove the first } before the error lines and retry it.
|
Did you try this?
Re: ORIGIN PLEASE! -
SERBIAN - 02.07.2011
Deleted
Re: ORIGIN PLEASE! -
SERBIAN - 02.07.2011
Deleted