SA-MP Forums Archive
Help... - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help... (/showthread.php?tid=119765)



Help... - _ReloadeD_ - 09.01.2010

i do this:
Код:
new PlayerExp[MAX_PLAYERS];
PlayerExp[playerid] = dini_Float(GetPlayerFile(playerid),"Exp");
and i have this warningr:
Код:
tag mismatch
why?



Re: Help... - dice7 - 09.01.2010

new Float:PlayerExp[MAX_PLAYERS];


Re: Help... - Correlli - 09.01.2010

Change:
pawn Код:
new PlayerExp[MAX_PLAYERS];
to:
pawn Код:
new Float:PlayerExp[MAX_PLAYERS];
dini_Float returns a float value and your array is not a float type.


Re: Help... - _ReloadeD_ - 09.01.2010

tnx for help