ProxDetector? - 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: ProxDetector? (
/showthread.php?tid=554477)
ProxDetector? -
Jing_Chan - 03.01.2015
pawn Код:
warning 219: local variable "string" shadows a variable at a preceding level
pawn Код:
public ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5)
help please
Re: ProxDetector? -
Admigo - 03.01.2015
Quote:
Originally Posted by Jing_Chan
pawn Код:
warning 219: local variable "string" shadows a variable at a preceding level
pawn Код:
public ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5)
help please
|
Change to:
pawn Код:
public ProxDetector(Float:radi, playerid, string2[],col1,col2,col3,col4,col5)
Re: ProxDetector? -
dan40o - 03.01.2015
change string to somthing else.
Re: ProxDetector? -
Jing_Chan - 03.01.2015
C:\Users\James\Documents\--\gamemodes\ERP.pwn(20742) : error 025: function heading differs from prototype
Re: ProxDetector? -
ikkentim - 03.01.2015
You've got to change the declaration (forward ProxDetector(...)) too.