save amount
#2

`TotalDMG` should have Float: tag
pawn Code:
PlayerInfo[playerid][TotalDMG] += amount;
// is equivalent to
PlayerInfo[playerid][TotalDMG] = PlayerInfo[playerid][TotalDMG] + amount;
Reply


Messages In This Thread
save amount - by Vy - 09.05.2020, 13:10
Re: save amount - by Calisthenics - 09.05.2020, 13:15
Re: save amount - by Vy - 09.05.2020, 13:22
Re: save amount - by Calisthenics - 09.05.2020, 13:39
Re: save amount - by Vy - 09.05.2020, 13:53
Re: save amount - by Calisthenics - 09.05.2020, 14:08
Re: save amount - by Vy - 09.05.2020, 14:22
Re: save amount - by Vy - 09.05.2020, 14:33
Re: save amount - by Calisthenics - 09.05.2020, 14:54
Re: save amount - by Vy - 09.05.2020, 18:20

Forum Jump:


Users browsing this thread: 2 Guest(s)