Tag mismatch?
#1

Why do i get a tag mismatch from this:
pawn Код:
GivePlayerCash(playerid, AHouseData[i][price] * 0.75);
While anywhere else this does work:
pawn Код:
GivePlayerCash(playerid, Payment);
Reply
#2

Because it wants an integer, not a float. Use floatround().
Reply
#3

Thank you!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)