Raised This Month: $ Target: $400
 0% 

Enum warning


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 08-06-2018 , 06:56   Re: Enum warning
Reply With Quote #1

Just remove enum names, they are useless, or change
Code:
stock fm_set_user_team( id, {CS_Teams,_}:team, {CS_Internal_Models,_}:model = CS_DONTCHANGE )
to
Code:
stock fm_set_user_team( id, any:team, any:model = CS_DONTCHANGE )
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM
Ghosted is offline
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 08-06-2018 , 08:57   Re: Enum warning
Reply With Quote #2

Quote:
Originally Posted by Ghosted View Post
Just remove enum names, they are useless, or change
Code:
stock fm_set_user_team( id, {CS_Teams,_}:team, {CS_Internal_Models,_}:model = CS_DONTCHANGE )
to
Code:
stock fm_set_user_team( id, any:team, any:model = CS_DONTCHANGE )
Thanks!

Quote:
You could completely remove amxmodx and write directly metamod plugins. NO MODULES USED, HOW COOL IS THAT?
Man, if you don't know, how to help, than just go to the next topic. I'm not interested in opinion of the guy that joined in 2013 since i'm here in 2007 and already have my own opinion what modules i should use. In this case i'm fixing not my own plugin and i have no rights to add any other modules.
__________________
draft is offline
Reply



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 12:26.


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