y_ini deleting line
#1

How can i delete lines with y_ini

if i have these lines inside the file:
pindex = 0
pmodelid = 18632
pboneid = 2
pfOffsetX = 0.000000
pfOffsetY = 0.000000
pfOffsetZ = 0.000000
pfRotX = 0.000000
pfRotY = 0.000000
pfRotZ = 0.000000
pfScaleX = 1.000000
pfScaleY = 1.000000
pfScaleZ = 1.000000
Reply
#2

pawn Код:
new
    INI:ini = INI_Open(filename);
INI_RemoveEntry(ini, "pindex");
INI_RemoveEntry(ini, "pmodelid");
INI_RemoveEntry(ini, "pboneid");
INI_RemoveEntry(ini, "pfOffsetX");
INI_RemoveEntry(ini, "pfOffsetY");
INI_RemoveEntry(ini, "pfOffsetZ");
INI_RemoveEntry(ini, "pfRotX");
INI_RemoveEntry(ini, "pfRotY");
INI_RemoveEntry(ini, "pfRotZ");
INI_RemoveEntry(ini, "pfScaleX");
INI_RemoveEntry(ini, "pfScaleY");
INI_RemoveEntry(ini, "pfScaleZ");
INI_Close(ini);
Reply
#3

thank you sir
Reply
#4

toys.pwn(390) : error 017: undefined symbol "ini"
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)