Need 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)
+--- Thread: Need help... (
/showthread.php?tid=614954)
Need help... -
SoltutioN - 15.08.2016
Код:
(151) : warning 202: number of arguments does not match definition
Line 151:
Код:
INI_WriteInt(File,"Armour", GetPlayerArmour(playerid));
I don't know what's wrong here ?
Re: Need help... -
Shinja - 15.08.2016
Quote:
Originally Posted by SoltutioN
Код:
INI_WriteInt(File,"Armour", GetPlayerArmour(playerid));
|
Wrong usage of GetPlayerArmour, it's used like that
PHP код:
new Float:ar; GetPlayerArmour(playerid, ar);
INI_WriteInt(File,"Armour", ar);
Re: Need help... -
SoltutioN - 15.08.2016
Thank you very much
Re: Need help... -
Dayrion - 15.08.2016
This should be :
PHP код:
new Float:ar; GetPlayerArmour(playerid, ar);
INI_WriteFloat(File,"Armour", ar);
Re: Need help... -
Shinja - 16.08.2016
Quote:
Originally Posted by Dayrion
This should be :
PHP код:
new Float:ar; GetPlayerArmour(playerid, ar);
INI_WriteFloat(File,"Armour", ar);
|
Ah yep my bad, i just sloved the tag mismatch for him