[Help] Save armour
#1

Hi people, i have a small problem with save armour
Anyone can help me please?

ON OnPlayerSpawn:

if(dini_Isset("Armour.ini",PlayerName(playerid))) SetPlayerArmour(playerid,dini_Int("Armour.ini",Pla yerName(playerid)));

ON OnPlayerDisconnect:

dini_IntSet("Armour.ini",PlayerName(playerid),GetP layerArmour(playerid));

ON OnGameModeInit:

if(!fexist("Armour.ini")) dini_Create("Armour.ini");

The problem :
warning 202: number of arguments does not match definition
dini_IntSet("Armour.ini",PlayerName(playerid),GetP layerArmour(playerid));
Reply


Messages In This Thread
[Help] Save armour - by Duartstrocci - 26.10.2018, 13:46
Re: [Help] Save armour - by KinderClans - 26.10.2018, 14:09
Re: [Help] Save armour - by Mugala - 26.10.2018, 16:43
Re: [Help] Save armour - by KinderClans - 26.10.2018, 16:58

Forum Jump:


Users browsing this thread: 1 Guest(s)