SA-MP Forums Archive
help | with read from file. - 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 | with read from file. (/showthread.php?tid=275483)



help | with read from file. - EviLpRo - 09.08.2011

hello!

i want to read all the props from the file: Props.ini

the props write to file in this way:

"Prop Test",Float:X,Float:Y,Float:Z,PropMoney,PropPrice

but i couldnt make this

someone can help to me ?

thank in advance to helpers


Re: help | with read from file. - MadeMan - 09.08.2011

Show your props enum.


Re: help | with read from file. - EviLpRo - 09.08.2011

this:

enum PropList
{
PrName[25],
PrOwner[25],
PrMoney,
PrPrice,
PrPickup
}

but have me function: AddStaticProp(const PropName[],Float:X,Float:Y,Float:Z,PropMoney,PropPrice);


Re: help | with read from file. - EviLpRo - 10.08.2011

bump..
help please.