Tag Mismatch
#1

I want to get away this 3 "warning 213: tag mismatch".

It`s in the following lines:
#1:
Код:
if(PlayerToPoint(50,i,oldx,oldy,oldZ) && IsRegierung(i) == true)
#2:
Код:
Integerx = oldx;
#3:
Код:
Integery = oldy;
Hope on your answer,
Trooper
Reply
#2

Replace 50 with 50.0 and try. And make sure the other variables are defined as:

pawn Код:
new Float:poo;
Reply
#3

It shouldnt be Float, they are integers....
/edit: 50.0 doesnt work,still warning
Reply
#4

1st Warn got away....
Its because of
Quote:

IsRegierung(i) == true

True got wrong, removed it, and now there are (just) 2 Warns left
Reply
#5

They must be float, they can't be intagers as they are representing a cordinate.
Reply
#6

But what if i want to add and compare this?
Can i calculate with Floats?
I dont believe...
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)