Help me out with float
#1

Help me,
these are the warning lines:
Код:
new float:FixCarSpawn[][4] =
{
	{-1912.4701,307.5453,40.7078,90}, //9127
	{-1912.3990,303.0649,40.7078,90}, //9128
	{-1912.2147,298.9101,40.7079,90}, //9129
	{-1912.2111,295.1472,40.7080,90}, //9130
	{-1912.2302,291.3672,40.7080,90}, //9131
	{-1912.2019,287.2216,40.7079,90} //9132
}
gamemodes/gamemode.pwn(9127) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9127) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9127) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9127) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9128) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9128) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9128) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9128) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9129) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9129) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9129) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9129) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9130) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9130) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9130) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9130) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9131) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9131) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9131) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9131) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9132) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9132) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9132) : warning 213: tag mismatch
gamemodes/gamemode.pwn(9132) : warning 213: tag mismatch
Reply
#2

The tag is Float: with upper-case. float with lower-case is a function that converts an integer into a float.
Reply
#3

Quote:
Originally Posted by Calisthenics
Посмотреть сообщение
The tag is Float: with upper-case. float with lower-case is a function that converts an integer into a float.
Now it just gives 1 warning for each line.
Reply
#4

I guess
pawn Код:
new Float:FixCarSpawn[][4] =
{
    {-1912.4701, 307.5453, 40.7078, 90.0},
    {-1912.3990, 303.0649, 40.7078, 90.0},
    {-1912.2147, 298.9101, 40.7079, 90.0},
    {-1912.2111, 295.1472, 40.7080, 90.0},
    {-1912.2302, 291.3672, 40.7080, 90.0},
    {-1912.2019, 287.2216, 40.7079, 90.0}
}
Reply
#5

Thanks a lot! I fixed it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)