02.12.2012, 21:27
Код:
C:\Users\Scripting.Ash-PC\Desktop\Roleplay\gamemodes\roleplay.pwn(111) : warning 202: number of arguments does not match definition C:\Users\Scripting.Ash-PC\Desktop\Roleplay\gamemodes\roleplay.pwn(111) : warning 202: number of arguments does not match definition C:\Users\Scripting.Ash-PC\Desktop\Roleplay\gamemodes\roleplay.pwn(111) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Warnings.
My PlayerInfo enum
pawn Код:
enum pInfo
{
pPass[129],
pCash,
pPos,
pAdmin,
pKills,
pDeaths
}
Then my OnPlayerDisconnect
pawn Код:
new INI:File = INI_Open(UserPath(playerid));
INI_SetTag(File,"PlayerData");
INI_WriteInt(File,"Cash",GetPlayerMoney(playerid));
INI_WriteInt(File,"Pos",GetPlayerPos(playerid));
INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]);
INI_WriteInt(File,"Kills",PlayerInfo[playerid][pKills]);
INI_WriteInt(File,"Deaths",PlayerInfo[playerid][pDeaths]);
INI_Close(File);
return 1;
}
.. I get the Warnings shown above.. Anyone know how to fix? Thanks