SII String problem - 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)
+--- Thread: SII String problem (
/showthread.php?tid=553392)
SII String problem -
Lidor124 - 29.12.2014
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)
Код:
format(var, 32, "Family%dVeh%dNumberPlate", f, fv);
SII_WriteString(var, FamilyVehicleInfo[f][fv][fvNumberPlate]);
The warning which crashes my server: (The ReadingString makes problems)
Код:
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
+REP if someone can help me out
Re: SII String problem -
Lidor124 - 29.12.2014
Never mind, i solved it myself.