SA-MP Forums Archive
help me fix these errors please :(:(!! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help me fix these errors please :(:(!! (/showthread.php?tid=125649)



help me fix these errors please :(:(!! - ty - 05.02.2010

i have a bank system and i have managed to clear most errors off it but with these last 2 i have simple run out of idears please help me

heres the error < : error 017: undefined symbol "tmp2" >

heres the line < giveplayerid = ReturnUser strval(tmp2); >

am a bit of a noob scripter but i have had a few goes at fixing it my self i have tryed removing the "strval(tmp2);" but then i get the following error

< error 006: must be assigned to an array >

please help me these are the only things holding me back i have all the .INC i have tryed a few but i get more errors then this so i only need help with these 2 thank you in advanced



Re: help me fix these errors please :(:(!! - sggassasin - 05.02.2010

Well it looks like u need to build a string so put this in ..... new tmp2[128];


Re: help me fix these errors please :(:(!! - ty - 05.02.2010

ok thanx that has fixed it i new it will be somthing simple the only thing is now i dont no were the city bank is to test it i have looked everywere for the pick up i was wonderin if there was a way to remove the register system in the script and jst have it were u can bank anywere ?