warning 213: tag mismatch (+REP)
#1

DB[i][Money]=DB[i][Money]+EventJackpot*0.20;
Reply
#2

'Money' is not declared as a float and since you multiply it with a float value (0.20), it will result in a float value. Round up the float to an integer: https://sampwiki.blast.hk/wiki/Floatround
Reply
#3

Like this
Quote:

DB[i][Money] += floatround(EventJackpot * 0.20);

Reply
#4

Thanks guys
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)