08.02.2013, 15:31
(
Last edited by Riddick94; 08/02/2013 at 06:58 PM.
)
pawn Code:
PlayerData[playerid][E_PLAYER_MONEY] += (money > MAX_PLAYER_MONEY ? MAX_PLAYER_MONEY : money);
PlayerData[playerid][E_PLAYER_MONEY] += (money > MAX_PLAYER_MONEY ? MAX_PLAYER_MONEY : money);
PlayerData[playerid][E_PLAYER_MONEY] += (money > MAX_PLAYER_MONEY) ? MAX_PLAYER_MONEY : money;
PlayerData[playerid][E_PLAYER_MONEY] += ( (money > MAX_PLAYER_MONEY) ? (MAX_PLAYER_MONEY) : (money) );