error 035: argument type mismatch (argument 3)
#1

<removed>
Reply
#2

pawn Код:
dini_Set(file, "Origin", (inputtext))
i think that strval is no need hare
Reply
#3

//EDIT:the guy above me is right, no conversion needed here.
3rd param is a string, all 3 params are strings here

the compiler cannot convert the
passed-in argument to the required type.
(im talking about "strval(inputtext)")

try this:
pawn Код:
new val = strval(inputtext);
//and then
dini_Set(file, "Origin", val);
if that didn't work, tell us how your "inputtext" usually looks like
Reply
#4

It works now, thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)