11.11.2014, 02:47
-- means it will decrease the amount of something by 1
and ++ means it will increase the amount of something by 1.
here is an example:
and its the same as:
and ++ means it will increase the amount of something by 1.
here is an example:
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
PlayerDeath[playerid] ++; // increase the player death by one
PlayerScore[playerid] --; //will decrease the player score by one
return 1;
}
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
PlayerDeath[playerid] += 1; // increase the player death by one
PlayerScore[playerid] -= 1; //will decrease the player score by one
return 1;
}