[HELP!]error 029: invalid expression, assumed zero
#1

Code :
Quote:

public OnPlayerConnect(playerid)
{
if(PlayerData[playerid][pAdmin] < 1))
{
GivePlayerScore(playerid, 9000);
GivePlayerWeapon(playerid, 38, 50000);
SetPlayerHealth(playerid, 100000);
SetPlayerArmour(playerid, 100000);
}
return 1;
}

Quote:

enum pInfo
{
pAdmin
}
new PlayerData[MAX_PLAYERS][pInfo];

There is the codes.

The line i got errors on is :
Quote:

if(PlayerData[playerid][pAdmin] < 1))
{

Reply


Messages In This Thread
[HELP!]error 029: invalid expression, assumed zero - by Veeco - 24.11.2012, 20:17
Re: [HELP!]error 029: invalid expression, assumed zero - by RenSoprano - 24.11.2012, 20:20

Forum Jump:


Users browsing this thread: 1 Guest(s)