Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

invalid expression, assumed zero

$
0
0
Code:
Code:

enum PlayerInfos
{
        pExp,
        pLevel,
        pAdmin,
        pCash,
        pHP,
        pAR,
        pWeapon1,
        pWeapon2,
        pWeapon3,
        pWeapon4,
        pWeapon5,
        pWeapon6,
        pWeapon7,
        pWeapon8,
        pWeapon9,
        pWeapon10,
        pWeapon11,
        pWeapon12,
        pCar,
        pHouse,
        pBiz,
        pPP,
        pKills,
        pDeaths,
        pMuted,
        pMuteTime,
        pBanned,
        pBanTime,
        pWantedLevel,
        pWarns,
        pJailed,
        pJailTime
}
new PlayerInfo[MAX_PLAYERS[PlayerInfos]; --------Line 78

Errors:
Code:

C:\Users\Sorin\Desktop\Kernel.pwn(78) : error 029: invalid expression, assumed zero
+1REP for help.
Thanks!

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>