SA-MP Forums Archive
I need some help - 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: I need some help (/showthread.php?tid=207671)



I need some help - Stefans94 - 06.01.2011

Can anyone help me with this?
So i have a folder called pickups
every pickup is named ID.ini (1.ini, 2.ini...)
They contain:
Text=(the text that shows up when you run trough it)
Do=(what it does, like SetPlayerPos(...))
Command=(the command u have to enter/button u have to press to active the "Do")
PosX=(position of pickup)
PosY=
PosZ=
Icon=(The icon..)

So i need it turned into the pawn script, and i need to know these things=
it has to count them, so if there are 50 pickups, it opens the 50.ini's and do the things inside the ini's..
Would this be possible, so i would have only 1 line code in the gamemode:
id = Create...
Thanks.