Y_Ini Position
#1

Код:
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.
Trying to get it to save my Position..
My PlayerInfo enum
pawn Код:
enum pInfo
{
    pPass[129],
    pCash,
    pPos,
    pAdmin,
    pKills,
    pDeaths
}
Added pPos, There..

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;
}
Added INI_WriteInt(File,"Pos",GetPlayerPos(playerid));

.. I get the Warnings shown above.. Anyone know how to fix? Thanks
Reply


Messages In This Thread
Y_Ini Position - by Lz - 02.12.2012, 21:27
Re: Y_Ini Position - by ReneG - 02.12.2012, 21:33
Re: Y_Ini Position - by Lz - 02.12.2012, 21:41
Re: Y_Ini Position - by Lz - 02.12.2012, 21:52
Re: Y_Ini Position - by ReneG - 02.12.2012, 22:04
Re: Y_Ini Position - by Lz - 02.12.2012, 22:07
Re: Y_Ini Position - by ReneG - 02.12.2012, 22:11
Re: Y_Ini Position - by Lz - 02.12.2012, 22:26

Forum Jump:


Users browsing this thread: 1 Guest(s)