01.03.2013, 11:28
Hi, I have some problem with my force system. I add functions and stock, but I have three errors, which can not cope.
Errors:
Code:
OnGameModeInit
Код:
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; }
Код:
error 017: undefined symbol "PlayerInfo" error 017: undefined symbol "PlayerInfo" error 017: undefined symbol "PlayerInfo"
Код:
enum pInfo { pHaslo[64], pNickOOC[64], pSila, //and more code...[...] };
Код:
new PlayerInfo[Max_Players][pInfo];
Код:
PlayerInfo[playerid][pSila]=3000;