[Help] New with 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Help] New with Dini (
/showthread.php?tid=147678)
[Help] New with Dini -
Thrarod - 13.05.2010
I was working on a reg system for my RP, I wrote this
Код:
PlayerInfo[playerid][Rank] = dini_Get(file, "Rank");
And got error
Код:
C:\Users\Evrim\Documents\********\gamemodes\ybrp.pwn(115) : error 006: must be assigned to an array
Please help!
Thanks
Re: [Help] New with Dini -
MahmutBey - 13.05.2010
If you'll use this code then your problem will debug.
Код:
strmid(PlayerInfo[playerid][Rank], dini_Get(file, "Rank"), 0, strlen(dini_Get(file, "Rank")), 255);
Re: [Help] New with Dini -
Thrarod - 13.05.2010
Eng: Thanks man!
Tьrkзe:Hep bunu mu yapmam lazım?
Re: [Help] New with Dini -
MahmutBey - 13.05.2010
EN: Np
TR: Yani "string" degeri okutmak icin bunu kullanacaksin. Ama INT, FLOAT okuturken digerlerini kullanacaksin
Re: [Help] New with Dini -
Thrarod - 15.05.2010
TR: hep strmid mi kullancam yani?