SII String problem
#1

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
Reply
#2

Never mind, i solved it myself.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)