19.09.2009, 18:23
hello, I was coding my new exp and lvl system, and I get 1 error when compiling... can some one help me?
here is my script:
error:
Line - PlayerInfo[killerid][Exp]+1000;
code - warning 215: expression has no effect
help me, please?
here is my script:
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(PlayerInfo[killerid][LoggedIn] && killerid != INVALID_PLAYER_ID )
{
PlayerInfo[killerid][Exp]+1000;
PlayerInfo[killerid][Kills]++;
}
if(PlayerInfo[playerid][LoggedIn] && playerid != INVALID_PLAYER_ID)
{
PlayerInfo[playerid][Deaths]++;
}
return 1;
}
Line - PlayerInfo[killerid][Exp]+1000;
code - warning 215: expression has no effect
help me, please?
