help :D
#1

how i cn read from a ini file like playername.ini and into this file specialweapons= 1 or 0 thx
Reply
#2

help
Reply
#3

Open it with Windows Editor.
Reply
#4

-.- how to read a ini file in a pawno script
Reply
#5

use dini-include...
Reply
#6

To use it in pawno you need to have that file in Includes (I think)
Reply
#7

Quote:
Originally Posted by тħeρяш
use dini-include...
Quote:
Originally Posted by Flashy
Open it with Windows Editor.


Anyways, you need to use enum like PlayerInfo. If you do use them, you should have a variable like "specialweapons" in the enum.
Under you login code:
Код:
PlayerInfo[playerid][specialweapons] = dini_Int(file,"specialweapons");
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)