SA-MP Forums Archive
I have some errors :( - 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: I have some errors :( (/showthread.php?tid=473451)



I have some errors :( - Gogorakis - 02.11.2013

Can you help me please?

Errors:
Quote:

C:\Users\User\Desktop\h\pawno\include\YSI\y_timers .inc(259) : warning 219: local variable "timer" shadows a variable at a preceding level
C:\Users\User\Desktop\h\gamemodes\test.pwn(3032) : error 012: invalid function call, not a valid address
C:\Users\User\Desktop\h\gamemodes\test.pwn(3032) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\test.pwn(3032) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\test.pwn(3032) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\test.pwn(3032) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\test.pwn(3032) : error 001: expected token: ";", but found ")"
C:\Users\User\Desktop\h\gamemodes\test.pwn(3032) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\h\gamemodes\test.pwn(3032) : fatal error 107: too many error messages on one line

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


4 Errors.

The line:

Quote:

ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW);




Re: I have some errors :( - Gogorakis - 02.11.2013

Nobody?


Re: I have some errors :( - Gogorakis - 02.11.2013

Please guys. I need to fix this really fast...Someone who can help me?


Re: I have some errors :( - SAMProductions - 03.11.2013

Try This:

Код:
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW);
or

Код:
ProxDetector(30.0, playerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW);



Re: I have some errors :( - Gogorakis - 03.11.2013

Quote:
Originally Posted by SAMProductions
Посмотреть сообщение
Try This:

Код:
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW);
or

Код:
ProxDetector(30.0, playerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW);
Код:
C:\Users\User\Desktop\h\gamemodes\test.pwn(3032) : error 012: invalid function call, not a valid address
C:\Users\User\Desktop\h\gamemodes\test.pwn(3032) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\test.pwn(3032) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\test.pwn(3032) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\test.pwn(3032) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\test.pwn(3032) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\test.pwn(3032) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\test.pwn(3032) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\test.pwn(3032) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\test.pwn(3032) : error 001: expected token: ";", but found ")"
C:\Users\User\Desktop\h\gamemodes\test.pwn(3032) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\h\gamemodes\test.pwn(3032) : fatal error 107: too many error messages on one line

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


4 Errors.
Still nothing...


Re: I have some errors :( - Gogorakis - 03.11.2013

Can someone help me please? I am looking for other way to fix it.