Force System
#1

Hi, I have some problem with my force system. I add functions and stock, but I have three errors, which can not cope.

Код:
stock pName3(playerid)
{
	new bw[64], sila[64], string[256], pinfo=PlayerInfo[playerid][pSila];
	if(pinfo<2999)
 	format(sila, sizeof(sila), "(%dj)", pinfo);
	else
	if(PlayerInfo[playerid][pBW]>0)
	{
	    if(PlayerInfo[playerid][pPlec]==1)
	    bw = ", nieprzytomny";
		else
		bw = ", nieprzytomna";
	}
	return string;
}
Errors:
Код:
error 017: undefined symbol "PlayerInfo"
error 017: undefined symbol "PlayerInfo"
error 017: undefined symbol "PlayerInfo"
Code:
Код:
enum pInfo
	{
	    pHaslo[64],
		pNickOOC[64],
            pSila,
            //and more code...[...]
          };
Код:
new PlayerInfo[Max_Players][pInfo];
OnGameModeInit
Код:
PlayerInfo[playerid][pSila]=3000;
Reply


Messages In This Thread
Force System - by .Error - 01.03.2013, 11:28
Re: Force System - by .Error - 01.03.2013, 11:44
Re: Force System - by Bakr - 01.03.2013, 15:53
Re: Force System - by Kenway - 01.03.2013, 16:13

Forum Jump:


Users browsing this thread: 4 Guest(s)