How can i do something like this dini_IntSet(file, "points", ++);
#1

Hello,

I tried to do it like this:

Код:
new file[64];
new string[128];
format(file, sizeof(file), "users/%s.ini", inputtext);
if(response)
{
dini_IntSet(file, "points", ++);
}
Error:

29243) : error 029: invalid expression, assumed zero
(29243) : error 022: must be lvalue (non-constant)

Line:

Код:
(29243)dini_IntSet(file, "points", ++);
Can you guys help me with this...?
Reply
#2

Try this
PHP код:
dini_IntSet(file"points"dini_Int(file"points")+1); 
Reply
#3

Quote:
Originally Posted by Shinja
Посмотреть сообщение
Try this
PHP код:
dini_IntSet(file"points"dini_Int(file"points")+1); 
Yeh, its working Thanks bro..
REP given.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)