SA-MP Forums Archive
GameMode Back Up Error - 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)
+--- Thread: GameMode Back Up Error (/showthread.php?tid=428604)



GameMode Back Up Error - 15outland - 06.04.2013

Hi,

I recently ran into trouble with my the main GM, so reverted to my some what recent back up, which I never had any issue with until trying to compile it just now.

Gives this error

F:\SAMP SERVER\gamemodes\test.pwn(2563) : error 001: expected token: ";", but found "-identifier-"
F:\SAMP SERVER\gamemodes\test.pwn(23183) : warning 217: loose indentation
F:\SAMP SERVER\gamemodes\test.pwn(24126) : warning 217: loose indentation
F:\SAMP SERVER\gamemodes\test.pwn(37345) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Heres the code,

-2563 print("\nLoading Gamemode(GangsterParadiseGameMode)");
SetGameModeText("Cops|Robbers|Gangs");
ShowNameTags(1);
ShowPlayerMarkers(1);
SetWorldTime(12);
UsePlayerPedAnims();
KZI_Init();
BankRobbedRecently = 0;

which was the exact same as the original and never once had an issue, I can't see why either.

( just compiled an old version, which exactly the same data, and worked fine, so I'm confused.)


Re: GameMode Back Up Error - SuperViper - 06.04.2013

Line 2562 is missing a ; at the end of it.