Ugly 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: Ugly Error (
/showthread.php?tid=293846)
Ugly Error -
seanny - 30.10.2011
Hello, I keep getting this Error for no reason, Here is my Error List
Код:
C:\Users\Shaun\Desktop\LSC-RP\gamemodes\drp.pwn(413) : error 001: expected token: ";", but found "return"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Here is my Code
pawn Код:
public OnGameModeInit()
{
SetGameModeText("D-RP 0.1 Beta");
print("Auto Weather loaded.");
SetTimer("AutoWeather", 600000, 1);
AutoWeather();
DisableInteriorEnterExits()//Disables the Shitty Markers
return 1;//Line 413 is here
}
Re: Ugly Error -
SmiT - 30.10.2011
You forget a semi-colon on "DisableInteriorEnterExits()" line.
pawn Код:
DisableInteriorEnterExits();
Re: Ugly Error -
seanny - 30.10.2011
THANKS!!! YOUR A HERO! REP+'ED
Re: Ugly Error -
=WoR=G4M3Ov3r - 30.10.2011
https://sampforum.blast.hk/showthread.php?tid=293797
Why did you create another thread ?