Why does this give me a tag mismatch?
#1

pawn Код:
new tax = (PlayerData[i][pBank]*0.05);

Error:
warning 213: tag mismatch

1 Warning.
Reply
#2

Try
pawn Код:
new float:tax = PlayerData[i][pBank] * 0.05;
Reply
#3

Delete
Reply
#4

Because you are trying to store a float in an integer.

Reply
#5

It's a number Float,

pawn Код:
new Float:tax = PlayerData[i][pBank]*0.05;
Reply
#6

Well that was a fail lol. Thanks guys.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)