I have an error
#1

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.
Reply
#2

Show us the lines where the errors are.
Reply
#3

dude we can't do anything without the lines!
Reply
#4

Код:
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
Reply
#5

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

I not understand what to do
Reply
#7

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));
Reply
#8

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.
Reply
#9

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??!
Reply
#10

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


Forum Jump:


Users browsing this thread: 1 Guest(s)