SA-MP Forums Archive
need help - 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: need help (/showthread.php?tid=482243)



need help - iThePunisher - 20.12.2013

i fixed so much bugs but now im stuck here , i cant do anything ,so i need help pls,

pawn Код:
C:\Users\Hacker\Desktop\my script\pawno\include\YSI\y_amx.inc(371) : warning 219: local variable "base" shadows a variable at a preceding level
C:\Users\Hacker\Desktop\my script\pawno\include\YSI\y_amx.inc(419) : warning 219: local variable "base" shadows a variable at a preceding level
C:\Users\Hacker\Desktop\my script\pawno\include\YSI\y_amx.inc(654) : warning 219: local variable "base" shadows a variable at a preceding level
C:\Users\Hacker\Desktop\my script\gamemodes\Test.pwn(814) : warning 215: expression has no effect
C:\Users\Hacker\Desktop\my script\gamemodes\Test.pwn(815) : warning 215: expression has no effect
C:\Users\Hacker\Desktop\my script\gamemodes\Test.pwn(816) : warning 215: expression has no effect
C:\Users\Hacker\Desktop\my script\gamemodes\Test.pwn(817) : warning 215: expression has no effect

here

pawn Код:
CreateDynamicMapIcon(1498.3983,-1581.1786,13.5498,52,-1,-1,-1,-1,100);
CreateDynamicMapIcon(1929.1204,-1776.3202,13.5469,42,-1,-1,-1,-1,100);//store map icon
CreateDynamicMapIcon(1481.0745,-1772.3140,18.7958,12,-1,-1,-1,-1,100);//test map icon
CreateDynamicMapIcon(1555.5055,-1675.6694,16.1953,30,-1,-1,-1,-1,100);



Re: need help - iThePunisher - 20.12.2013

anyone can help me-_-??


Re: need help - iFiras - 20.12.2013

I suppost you use 'SetPlayerMapIcon'
https://sampwiki.blast.hk/wiki/SetPlayerMapIcon
And for base warning; rename that variable "base", put another name and it will work


Re: need help - iThePunisher - 20.12.2013

yeah but in my script there isnt anything named base


Re: need help - iFiras - 20.12.2013

Hm I see, It's in y_amx include...
Код:
C:\Users\Hacker\Desktop\my script\pawno\include\YSI\y_amx.inc(654)
Maybe try re-downloading the include.


Re: need help - iThePunisher - 20.12.2013

same problem -_-
i have try it many times -_-