AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Waring Tag MisMatch (https://forums.alliedmods.net/showthread.php?t=264324)

GentiAbazi 06-14-2015 03:38

Waring Tag MisMatch
 
waring 213: mismatch, wheere is problem ? ?? ?

Quote:

set_dhudmessage(0, 40, 80, Float:g_flCoords[iPos][0], Float:g_flCoords[iPos][1], 0, 0.1, 2.5, 0.02, 0.02, -1)
show_dhudmessage(id, "%d", read_data(2));

xxxperts 06-14-2015 08:13

Re: Waring Tag MisMatch
 
PHP Code:

set_dhudmessage(04080Float:g_flCoords[iPos][0], Float:g_flCoords[iPos][1], 00.12.50.020.02)
show_dhudmessage(id"%d"read_data(2)); 


fysiks 06-14-2015 12:18

Re: Waring Tag MisMatch
 
You shouldn't be tagging a variable as Float that is already a Float (g_flCoords). Also, when you have an issue like this, you need to look at the definition of the function that you are using. Look to see what types of tags you are supposed to be using. If you look at the function definition, you will see that the last argument is a boolean, not an integer. -1 will be interpreted as True.

GentiAbazi 06-14-2015 13:06

Re: Waring Tag MisMatch
 
Quote:

Originally Posted by xxxperts (Post 2307758)
PHP Code:

set_dhudmessage(04080Float:g_flCoords[iPos][0], Float:g_flCoords[iPos][1], 00.12.50.020.02)
show_dhudmessage(id"%d"read_data(2)); 


big thanks man


All times are GMT -4. The time now is 20:12.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.