[FilterScript] Dynamic Material Text System [fMat] - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Dynamic Material Text System [fMat] (
/showthread.php?tid=643111)
Re: Dynamic Material Text System [fMat] -
FuNkYTheGreat - 16.02.2019
Quote:
Originally Posted by Dimkata
its not working, i get error.
|
Please post the errors that you got.
Re: Dynamic Material Text System [fMat] -
Dimkata - 16.02.2019
Quote:
Originally Posted by FuNkYTheGreat
Please post the errors that you got.
|
Code:
error 001: expected token: "-identifier-", but found "-integer value-"
error 017: undefined symbol "Iter_Contains"
error 017: undefined symbol "YSI_gMatsItrC"
error 017: undefined symbol "YSI_gMatsItrS"
error 017: undefined symbol "YSI_gMatsItrA"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
Here are the lines
Code:
new Iterator:MatsItr<MAX_MATERIALS>; Line ( 83 )
if(Iter_Contains(MatsItr,i)) Line ( 142 )
if(Iter_Count(MatsItr) > MAX_MATERIALS) return SendClientMessage(playerid, -1 , ""MYRED"[MATERIAL]"MYWHITE" You've reached the total amount of Materials, Max Materials: "#MAX_MATERIALS"); Line 155
new id = Iter_Free(MatsItr); Line 156
Re: Dynamic Material Text System [fMat] -
FuNkYTheGreat - 17.02.2019
It seems like you don't have the correct version of Foreach, use this one by Kar
https://sampforum.blast.hk/showthread.php?tid=570868
Re: Dynamic Material Text System [fMat] -
Dimkata - 17.02.2019
Quote:
Originally Posted by FuNkYTheGreat
|
Nope, i changed version of Foreach, still got those5 errors

Editl: works. thank ytou buddy

Re: Dynamic Material Text System [fMat] -
FuNkYTheGreat - 18.02.2019
Quote:
Originally Posted by Dimkata
|
no problem!
Re: Dynamic Material Text System [fMat] -
N0FeaR - 18.02.2019
I like this, thank you!
Re: Dynamic Material Text System [fMat] -
YungVot - 19.02.2019
Looks nice might try it out for my server