SA-MP Forums Archive
How to know where the errors are coming from? - 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: How to know where the errors are coming from? (/showthread.php?tid=69723)



How to know where the errors are coming from? - Dairyll - 20.03.2009

I get 26 errors.

I edited a lot.

If you can tell me what causes this, I will search for it by myself.

Code:
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2252) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2281) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2317) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2318) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2345) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2816) : error 004: function "PlayerToPoint" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2827) : error 004: function "PlayerToPoint" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2839) : error 004: function "PlayerToPoint" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2843) : error 004: function "PlayerToPoint" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2855) : error 004: function "PlayerToPoint" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2859) : error 004: function "PlayerToPoint" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2863) : error 004: function "PlayerToPoint" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2867) : error 004: function "PlayerToPoint" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2871) : error 004: function "PlayerToPoint" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2875) : error 004: function "PlayerToPoint" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2879) : error 004: function "PlayerToPoint" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2883) : error 004: function "PlayerToPoint" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2895) : error 004: function "PlayerToPoint" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2899) : error 004: function "PlayerToPoint" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2903) : error 004: function "PlayerToPoint" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2907) : error 004: function "PlayerToPoint" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2911) : error 004: function "PlayerToPoint" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2923) : error 004: function "PlayerToPoint" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2927) : error 004: function "PlayerToPoint" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2931) : error 004: function "PlayerToPoint" is not implemented
C:\Program Files\Rockstar Games\Server\gamemodes\rrp.pwn(2943) : error 004: function "PlayerToPoint" is not implemented

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


26 Errors.



Re: How to know where the errors are coming from? - MenaceX^ - 20.03.2009

It's very hard to find if you got the script like this.
There's less/more brackets than how it needs to be.

The point is, this bracket can be in anywhere in your script.


Re: How to know where the errors are coming from? - Dairyll - 20.03.2009

Oh, okay, now I know what is the problem.

Thanks!

I will search for it by myself.

EDIT: Do you think it's before line 2252 or after line 2943?

ANOTHER EDIT: There are 9876 {'s and 9877 }'s. I gotta search for that missing { then.

YET ANOTHER EDIT: I found the missing { after what seems to be ages. Thank you very much for telling me what to find!