Help dini
#1

I've create my info org, but the dini don't work, someone can help me?
pawn Код:
format(string,sizeof(string),"Lider: %s",dini_Get("ORG/Org%d.cfg","Lider");
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Info ORG",string,"Ok","Return");
Please help me ...
Reply
#2

Hi Willian_Luigi,

I don't use dini myself.. However I have noticed a small syntax error..
pawn Код:
format(string,sizeof(string),"Lider: %s",dini_Get("ORG/Org%d.cfg","Lider"));
You simply missed a bracket off the end of the format.

Cheers,

TJ
Reply
#3

no, in the pwn its correct, but the dini don't WORK in-game
when i click in pickup, show the dialog and only 'Lider' don't appears the name into dini or 'NoOne'
Help me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)