SA-MP Forums Archive
Errors on line i havent even created! PLEASE HELP! - 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: Errors on line i havent even created! PLEASE HELP! (/showthread.php?tid=437432)



Errors on line i havent even created! PLEASE HELP! - Mappers4Life - 15.05.2013

Well im trying to create a login system and it says i have 3 errors on lines i havent got in my script, take a look right here.



PLEASE HELP PLEASE


Re: Errors on line i havent even created! PLEASE HELP! - GoldAngel - 15.05.2013

Add "new Users_OnFilterScriptInit" And "new Users_OnGameModeInit" at the start of the lines..


Re: Errors on line i havent even created! PLEASE HELP! - Mappers4Life - 15.05.2013

there isn't anythign with Users_


Re: Errors on line i havent even created! PLEASE HELP! - MP2 - 15.05.2013

If you actually read the errors properly, they're in ini.inc - an included file.


Re: Errors on line i havent even created! PLEASE HELP! - Mappers4Life - 15.05.2013

Quote:
Originally Posted by GoldAngel
Посмотреть сообщение
Add "new Users_OnFilterScriptInit" And "new Users_OnGameModeInit" at the start of the lines..
Thanks but now i get this
Quote:

C:\Users\jack\Desktop\Folders\SAMP Server\gamemodes\tutorial.pwn(12) : error 001: expected token: ";", but found "new"
C:\Users\jack\Desktop\Folders\SAMP Server\gamemodes\tutorial.pwn(26) : error 001: expected token: ";", but found "enum"




Re: Errors on line i havent even created! PLEASE HELP! - MP2 - 15.05.2013

So fix it. The compiler expected a semi-colon, but it found 'new' - so you missed a semi-colon on the line before 'new'. It's not hard to decipher.

Actually READ the errors in the future - don't say 'oh no an error - TO THE SAMP FORUMS!'.