SA-MP Forums Archive
Pawno fucked up again. - 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: Pawno fucked up again. (/showthread.php?tid=379179)



Pawno fucked up again. - Roel - 20.09.2012

Hello,

Somebody know where i can find the error in my script, because pawno cant.
He just gives me a shit load of errors:
Код:
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2108) : error 004: function "OnPlayerLog" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2418) : error 004: function "LoadTextDraws" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2421) : error 004: function "LoadVehicles" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2422) : error 004: function "LoadDropItems" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2423) : error 004: function "LoadInteriors" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2424) : error 004: function "LoadHouses" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2425) : error 004: function "LoadFamilies" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2426) : error 004: function "LoadPoints" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2427) : error 004: function "LoadJobs" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2541) : error 004: function "SaveVehicles" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2542) : error 004: function "SaveHouses" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2543) : error 004: function "SaveInteriors" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2544) : error 004: function "SaveFamilies" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2545) : error 004: function "SavePoints" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2546) : error 004: function "SaveJobs" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2556) : error 004: function "UpdateQueryVar" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2557) : error 004: function "UpdateQueryVar" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2558) : error 004: function "UpdateQueryInt" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2559) : error 004: function "UpdateQueryVar" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2560) : error 004: function "UpdateQueryInt" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2563) : error 004: function "UpdateQueryInt" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2564) : error 004: function "UpdateQueryInt" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2565) : error 004: function "UpdateQueryInt" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2566) : error 004: function "UpdateQueryInt" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2567) : error 004: function "UpdateQueryInt" is not implemented
D:\Program Files\Dropbox\backup\Server\DOC_Server\gamemodes\lsmrp.pwn(2568) : error 004: function "UpdateQueryInt" is not implemented

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
I cannot use the previous button because of some shit reason.
And I just don't want to load a backup again and wasted 1000 lines of script that I made today @thanks pawno.


Re: Pawno fucked up again. - Kirollos - 20.09.2012

write forward funcname(args); before each public (custom ones) like example:

pawn Код:
forward SendHiToAll();
public SendHiToAll()
{
    SendClientMessageToAll(-1, "Hi");
}



Re: Pawno fucked up again. - mamorunl - 20.09.2012

Before blaming it on the IDE, blame it on your lack of scripting knowledge. Spot the missing closing bracket above line 2108


Re: Pawno fucked up again. - Roel - 20.09.2012

Lol, I have over 30000 lines, you want to know how many callbacks there are in?...


Re: Pawno fucked up again. - Roel - 20.09.2012

Quote:
Originally Posted by mamorunl
Посмотреть сообщение
Before blaming it on the IDE, blame it on your lack of scripting knowledge. Spot the missing closing bracket above line 2108
I'm not going to check 2000 lines for a missing bracket.
How can I blame myself if the IDE just doesn't find the error.
In every other script editor this won't happend, except pawno...


Re: Pawno fucked up again. - mamorunl - 21.09.2012

Sure, you fked something up and want someone else to tell you? You won't get far in life with that attitude


Re: Pawno fucked up again. - clarencecuzz - 21.09.2012

Sorry to tell you, but mamoruni is right, you will have to search your entire script for the missing bracket. This is one of the worst downsides to using pawn, it doesn't always tell you where the missing bracket SHOULD be. Instead, it gives you hundreds of errors. It confuses some, but you should keep track of your script and make sure you always close your brackets before you move to another area.


Re: Pawno fucked up again. - [HK]Ryder[AN] - 21.09.2012

There are many bracket finders available..Use one of them.