Help dini - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help dini (
/showthread.php?tid=280267)
Help dini -
WLSF - 31.08.2011
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 ...
Re: Help dini -
TTJJ - 31.08.2011
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
Re: Help dini -
WLSF - 31.08.2011
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