29.12.2014, 15:50
Hey,
I use SII Include for my gang system, now when i write to a value to familyhq.ini it writes the data properly (in the following code its a string of gang vehicle numberplate)
*** btw - i changed SII functions from INI_WriteInt to SII_WriteInt because i use YINI too for users files. (i use SII version 2.07, took it from here: https://sampforum.blast.hk/showthread.php?tid=347797)
The warning which crashes my server: (The ReadingString makes problems)
+REP if someone can help me out
I use SII Include for my gang system, now when i write to a value to familyhq.ini it writes the data properly (in the following code its a string of gang vehicle numberplate)
*** btw - i changed SII functions from INI_WriteInt to SII_WriteInt because i use YINI too for users files. (i use SII version 2.07, took it from here: https://sampforum.blast.hk/showthread.php?tid=347797)
Код:
format(var, 32, "Family%dVeh%dNumberPlate", f, fv); SII_WriteString(var, FamilyVehicleInfo[f][fv][fvNumberPlate]);
Код:
gamemodes\CGRP.pwn(18652) : warning 202: number of arguments does not match definition
Код:
format(var, 32, "Family%dVeh%dNumberPlate", f, fv); FamilyVehicleInfo[f][fv][fvNumberPlate] = SII_ReadString(var); // ReadString