what is tag mismatch for ? , however it compiles with "get_user_team" and there are no warnings.
Code:
#include <amxmodx>
#include <cstrike>
public team(id)
{
new team
team = cs_get_user_team(id)
switch(team)
{
case CS_TEAM_T:
{
}
case CS_TEAM_CT:
{
}
case CS_TEAM_SPECTATOR:
{
}
}
}
line 7--8 :
Code:
team = cs_get_user_team(id)
switch(team)
Code:
D:\Ali\Counter-Strike 1.6\cstrike\addons\amxmodx\scripting\2.sma(7 -- 8) : warning 213: tag mismatch
Header size: 228 bytes
Code size: 212 bytes
Data size: 20 bytes
Stack/heap size: 16384 bytes
Total requirements: 16844 bytes
1 Warning.
Done.
[Finished in 0.3s]