Tag Mismatch - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Tag Mismatch (
/showthread.php?tid=75167)
Tag Mismatch -
Trooper[Y] - 29.04.2009
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:
#3:
Hope on your answer,
Trooper
Re: Tag Mismatch -
Weirdosport - 29.04.2009
Replace 50 with 50.0 and try. And make sure the other variables are defined as:
Re: Tag Mismatch -
Trooper[Y] - 29.04.2009
It shouldnt be Float, they are integers....
/edit: 50.0 doesnt work,still warning
Re: Tag Mismatch -
Trooper[Y] - 29.04.2009
1st Warn got away....
Its because of
True got wrong, removed it, and now there are (just) 2 Warns left
Re: Tag Mismatch -
OmeRinG - 29.04.2009
They must be float, they can't be intagers as they are representing a cordinate.
Re: Tag Mismatch -
Trooper[Y] - 29.04.2009
But what if i want to add and compare this?
Can i calculate with Floats?
I dont believe...