XP - 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: XP (
/showthread.php?tid=546058)
XP -
RonnyCZ - 12.11.2014
Код:
rlsf.pwn(123) : warning 202: number of arguments does not match definition
rlsf.pwn(164) : warning 202: number of arguments does not match definition
123 = dini_IntSet(file, "Xp", PlayerXp[playerid],MaxLevelUp[playerid] * BasicXp);
164 = dini_IntSet(file, "Xp",PlayerXp[playerid], MaxLevelUp[playerid] * BasicXp);
Re: XP -
Stinged - 12.11.2014
dini_IntSet(file, key[], value);
not
dini_IntSet(file, key[], value, ..);
Re: XP -
k0r - 12.11.2014
Код:
dini_IntSet(file, name[], data);
Код:
123 = dini_IntSet(file, "Xp", PlayerXp[playerid],MaxLevelUp[playerid] * BasicXp);
164 = dini_IntSet(file, "Xp",PlayerXp[playerid], MaxLevelUp[playerid] * BasicXp);