Raised This Month: $ Target: $400
 0% 

Solved cs_get_user_team


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
LearninG
Senior Member
Join Date: Apr 2019
Location: Iran
Old 09-18-2019 , 12:46   cs_get_user_team
Reply With Quote #1

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]

Last edited by LearninG; 09-18-2019 at 14:46.
LearninG is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:30.


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