error 025: function heading differs from prototype? Need assistance.
#3

Quote:
Originally Posted by googamalugafoo
Посмотреть сообщение
Can you show the code under the lines.
Heres the code starting from the first error to the last.

Код:
public OnPlayerDisconnect(playerid, Reason)
{
    new INI:File = INI_Open(UserPath(playerid));
    INI_SetTag(File,"data");
    INI_WriteInt(File,"Cash",GetPlayerMoney(playerid));
    INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdminLevel]);
    INI_WriteInt(File,"Kills",PlayerInfo[playerid][pKills]);
    INI_WriteInt(File,"Deaths",PlayerInfo[playerid][pDeaths]);
    INI_WriteInt(File,"Skin", PlayerInfo[playerid][pSkin]);
    INI_Close(File);
    return 1;
}

forward loz_SetPlayerSkin(playerid, skinid);
public loz_SetPlayerSkin(playerid, skinid) PlayerInfo[playerid][pSkin] = skinid;
#define loz_SetPlayerSkin SetPlayerSkin

public OnPlayerSpawn(playerid)
{
	SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);
    return 1;
}


public OnPlayerDeath(playerid, killerid, Reason)
Reply


Messages In This Thread
error 025: function heading differs from prototype? Need assistance. - by |}eath - 15.12.2011, 04:03
Re: error 025: function heading differs from prototype? Need assistance. - by SnG.Scot_MisCuDI - 15.12.2011, 04:07
Re: error 025: function heading differs from prototype? Need assistance. - by |}eath - 15.12.2011, 04:13
Re: error 025: function heading differs from prototype? Need assistance. - by |}eath - 15.12.2011, 04:18

Forum Jump:


Users browsing this thread: 1 Guest(s)