Please help me here - 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: Please help me here (
/showthread.php?tid=310774)
Please help me here -
Bect - 13.01.2012
Код:
D:\Jocuri\-\SaMp\Scripting From Zero\pawno\include\YSI\y_bintree.inc(377) : warning 219: local variable "right" shadows a variable at a preceding level
D:\Jocuri\-\SaMp\Scripting From Zero\pawno\include\YSI\y_bintree.inc(510) : warning 219: local variable "right" shadows a variable at a preceding level
How I fix this ?
Re: Please help me here -
CmZxC - 13.01.2012
do you have a "new right;" or something in your script?
Re: Please help me here -
Bect - 13.01.2012
Код:
stock right(source[], len)
{
new retval[MAX_STRING], srclen;
srclen = strlen(source);
strmid(retval, source, srclen - len, srclen, MAX_STRING);
return retval;
}
Re: Please help me here -
thimo - 13.01.2012
Change the thing right to right2
Re: Please help me here -
Bect - 13.01.2012
ooo :X thanks very much :*
Re: Please help me here -
thimo - 13.01.2012
No problem