SA-MP Forums Archive
I have an 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I have an error (/showthread.php?tid=137915)



I have an error - Laur13 - 30.03.2010

Sory for me bad english

Код:
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(149) : error 010: invalid function or declaration
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1931) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1931) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1931) : warning 215: expression has no effect
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1931) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1931) : fatal error 107: too many error messages on one line

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


5 Errors.



Re: I have an error - Jay420 - 30.03.2010

Show us the lines where the errors are.


Re: I have an error - aircombat - 30.03.2010

dude we can't do anything without the lines!


Re: I have an error - Laur13 - 30.03.2010

Код:
149 forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);

1931 			if(PlayerToPoint(8.0, playerid, 366.8080,-57.8321,1001.5101) || PlayerToPoint(8.0, playerid, 370.9257,-57.8304,1001.5206))


And #define is #define PlayerToPoint 1



Re: I have an error - Jonny_lockhart - 30.03.2010

pawn Код:
error 001: expected token: ";", but found ")"
That is straight forward.


Re: I have an error - Laur13 - 30.03.2010

I not understand what to do


Re: I have an error - aircombat - 30.03.2010

first of all , delete the define
second change this :
Код:
if(PlayerToPoint(8.0, playerid, 366.8080,-57.8321,1001.5101) || PlayerToPoint(8.0, playerid, 370.9257,-57.8304,1001.5206))
to this :
Код:
if(PlayerToPoint(8.0, playerid, 366.8080,-57.8321,1001.5101) || PlayerToPoint(8.0, playerid, 370.9257,-57.8304,1001.5206));



Re: I have an error - Laur13 - 30.03.2010

i delete #define and i replace


and i have 26 errors

Код:
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1931) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1931) : error 036: empty statement
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1935) : warning 225: unreachable code
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1935) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1935) : warning 215: expression has no effect
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1935) : error 001: expected token: ";", but found "if"
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1948) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1952) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1964) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1968) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1972) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1976) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1980) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1984) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1988) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(2000) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(2004) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(2008) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(2012) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(2016) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(2028) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(2032) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(2036) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(2048) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(2052) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(4149) : error 004: function "CrimInRange" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(4560) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(5208) : error 004: function "PlayerToPoint" is not implemented

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


26 Errors.



Re: I have an error - [TW]randomguy - 30.03.2010

Quote:
Originally Posted by Laur13
i delete #define and i replace


and i have 26 errors

Код:
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1931) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1931) : error 036: empty statement
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1935) : warning 225: unreachable code
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1935) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1935) : warning 215: expression has no effect
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1935) : error 001: expected token: ";", but found "if"
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1948) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1952) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1964) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1968) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1972) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1976) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1980) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1984) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(1988) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(2000) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(2004) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(2008) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(2012) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(2016) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(2028) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(2032) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(2036) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(2048) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(2052) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(4149) : error 004: function "CrimInRange" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(4560) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gamemodes\weed-zone.pwn(5208) : error 004: function "PlayerToPoint" is not implemented

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


26 Errors.
26??!


Re: I have an error - Laur13 - 30.03.2010

yes 26 error i can put the gm here and you fix him ? please