simple error
#1

so hey I have this
PHP код:
if(dini_Get(AddDirFile(dir_userfilesoptions2), "adminlevel") > adlvl[playerid]) return SendClientMessage(playeridCOLOR_RED"You Are Not Allowed To Do That"); 
it gave me error dini_Get aray must be indexed
Reply
#2

Can you show us what does the function
Код:
AddDirFile(dir_userfiles, options2)
does?
Reply
#3

select from the folder userfiles of the name options2
Reply
#4

Maybe as options2 is not a string it's getting confused?
Reply
#5

Just, stop using Dini shit
Reply
#6

Quote:
Originally Posted by RyderX
Посмотреть сообщение
Just, stop using Dini shit
Every user has his own preferences.
Reply
#7

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.
Reply
#8

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)