Number of arguments does not match definition
#1

Hi everyone, I finally converted my scratch garage system

Little problem though, i get a Number of arguments does not match definition warning...

pawn Код:
format(GI[i][O],32,"%s",INI_ReadString("O"));
Anyone knows what's wrong??
Reply
#2

INI_ReadString not have two parameters?
Reply
#3

hmm... like how?
Reply
#4

INI_ReadString(dest[], const key[], maxlength = sizeof(dest));
Reply
#5

Quote:
Originally Posted by Viniborn
Посмотреть сообщение
INI_ReadString(dest[], const key[], maxlength = sizeof(dest));
Could you use this in an example format for me

Sry, i'm not sure how to do this.
Reply
#6

Quote:
Originally Posted by ******
Посмотреть сообщение
Why are you even trying to format that string? Your format consists entirely of "%s" making it pointless!
Thanks again ******, you cleared up my mind
I removed it, and now it compiles without warnings, and works aswell in-game
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)