SA-MP Forums Archive
How to find missing brace - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: How to find missing brace (/showthread.php?tid=195594)



How to find missing brace - d3nf - 03.12.2010

Please help me find unclosed brace!

i have errors:
PHP код:
GM.pwn(2144) : error 004: function "SetPlayerCriminal" is not implemented
GM
.pwn(2595) : error 004: function "SetPlayerToTeamColor" is not implemented
GM
.pwn(2620) : error 004: function "SetPlayerToTeamColor" is not implemented
GM
.pwn(2665) : error 017undefined symbol "PlayerMuteMessage"
GM.pwn(2695) : error 004: function "SetPlayerCriminal" is not implemented
GM
.pwn(2700) : error 004: function "SetPlayerCriminal" is not implemented
GM
.pwn(2925) : error 004: function "PlayerToPoint" is not implemented
GM
.pwn(2929) : error 004: function "PlayerToPoint" is not implemented
GM
.pwn(2987) : error 004: function "PlayerToPoint" is not implemented
GM
.pwn(2991) : error 004: function "PlayerToPoint" is not implemented
GM
.pwn(2995) : error 004: function "PlayerToPoint" is not implemented
GM
.pwn(2999) : error 004: function "PlayerToPoint" is not implemented
GM
.pwn(3003) : error 004: function "PlayerToPoint" is not implemented
GM
.pwn(3007) : error 004: function "PlayerToPoint" is not implemented
GM
.pwn(3011) : error 004: function "PlayerToPoint" is not implemented
GM
.pwn(3015) : error 004: function "PlayerToPoint" is not implemented
GM
.pwn(3027) : error 004: function "PlayerToPoint" is not implemented
GM
.pwn(3031) : error 004: function "PlayerToPoint" is not implemented
GM
.pwn(3035) : error 004: function "PlayerToPoint" is not implemented
GM
.pwn(3039) : error 004: function "PlayerToPoint" is not implemented
GM
.pwn(3043) : error 004: function "PlayerToPoint" is not implemented
GM
.pwn(3055) : error 004: function "PlayerToPoint" is not implemented
GM
.pwn(3059) : error 004: function "PlayerToPoint" is not implemented
GM
.pwn(3063) : error 004: function "PlayerToPoint" is not implemented
GM
.pwn(3076) : error 004: function "PlayerToPoint" is not implemented
GM
.pwn(3080) : error 004: function "PlayerToPoint" is not implemented
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
26 Errors

i don't know who modify it before but when i get this mode i get this errors.

how to find unclosed brace??


Re: How to find missing brace - Retardedwolf - 03.12.2010

Above SetPlayerCriminal definition.


Re: How to find missing brace - d3nf - 03.12.2010

thx but i can't find it
can you help me find it?
you have skype?


Re: How to find missing brace - lilswizy - 03.12.2010

F3 or CTRL+F


Re: How to find missing brace - d3nf - 03.12.2010

omg... i can't find unclosed brace.
not "SetPlayerCriminal definition"


Re: How to find missing brace - WillyP - 03.12.2010

OMG.. He said BEFORE the function. Look at the function before it and count all of the opening braces, then the closing braces, then if they're not the same number on each side, make them the same number..


Re: How to find missing brace - Retardedwolf - 03.12.2010

It should be "public SetPlayerCriminal" or "stock SetPlayerCriminal"


Re: How to find missing brace - d3nf - 03.12.2010

please help me.
all code before public SetPlayerCriminal
http://denfer.pp.ru/Project/before_s...ercriminal.txt


Re: How to find missing brace - Ash. - 03.12.2010

Show us the whole code, there might be a missing bracket after it that the script thinks its something else...


Re: How to find missing brace - d3nf - 03.12.2010

full code:
http://denfer.pp.ru/Project/GM.pwn