simple error - 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: simple error (
/showthread.php?tid=630286)
simple error -
silverms - 12.03.2017
so hey I have this
PHP код:
if(dini_Get(AddDirFile(dir_userfiles, options2), "adminlevel") > adlvl[playerid]) return SendClientMessage(playerid, COLOR_RED, "You Are Not Allowed To Do That");
it gave me error dini_Get aray must be indexed
Re: simple error -
Toroi - 12.03.2017
Can you show us what does the function
Код:
AddDirFile(dir_userfiles, options2)
does?
Re: simple error -
silverms - 12.03.2017
select from the folder userfiles of the name options2
Re: simple error -
Toroi - 12.03.2017
Maybe as
options2 is not a string it's getting confused?
Re: simple error -
RyderX - 12.03.2017
Just, stop using Dini shit
Re: simple error - iLearner - 12.03.2017
Quote:
Originally Posted by RyderX
Just, stop using Dini shit
|
Every user has his own preferences.
Re: simple error -
GoldenLion - 12.03.2017
Use dini_Int to get an integer.
Quote:
Originally Posted by RyderX
Just, stop using Dini shit
|
And here I tell you once again: stop saying that in every thread. That is not helping anyone and you know there's dini2 by Gammix.
Re: simple error -
Toroi - 12.03.2017
To add to the previous answers to this post:
Quote:
Originally Posted by RyderX
Just, stop using Dini shit
|
Did you benchmark it? What's your proof behind your statement apart from hearing it from someone else's mouth? You sound really serious for a guy who does not know how to remove a simple marker.
https://sampforum.blast.hk/showthread.php?tid=630283