Raised This Month: $51 Target: $400
 12% 

[l4d2] help:about flags explain,f_plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dabaicai
Junior Member
Join Date: May 2011
Old 07-05-2013 , 01:52   [l4d2] help:about flags explain,f_plugin
Reply With Quote #1

this flag : FCVAR_PLUGIN

that's addr :https://developer.valvesoftware.com/...he_FCVAR_flags

is not interpretation.

can u help me ???

Last edited by dabaicai; 07-05-2013 at 03:19.
dabaicai is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 07-05-2013 , 06:33   Re: [l4d2] help:about flags explain,f_plugin
Reply With Quote #2

http://docs.sourcemod.net/api/index....ad=file&id=27&

Code:
#define FCVAR_PLUGIN			(1<<18)	/**< Defined by a 3rd party plugin. */
__________________

Last edited by 11530; 07-05-2013 at 06:34.
11530 is offline
dabaicai
Junior Member
Join Date: May 2011
Old 07-05-2013 , 09:03   Re: [l4d2] help:about flags explain,f_plugin
Reply With Quote #3

Quote:
Originally Posted by 11530 View Post
http://docs.sourcemod.net/api/index....ad=file&id=27&

Code:
#define FCVAR_PLUGIN            (1<<18)    /**< Defined by a 3rd party plugin. */
3q,

what's meaning: (1<<1 ?
1,or, 2 or ......18 ? 1 to 18 ,1 between 18?
dabaicai is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-05-2013 , 09:24   Re: [l4d2] help:about flags explain,f_plugin
Reply With Quote #4

(1<<18) represents a bitfield with bit 19 set.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 07-05-2013 at 09:25.
Powerlord is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 07-05-2013 , 09:27   Re: [l4d2] help:about flags explain,f_plugin
Reply With Quote #5

1<<18 == 1000000000000000000 == 2^18 == 262144
__________________
11530 is offline
dabaicai
Junior Member
Join Date: May 2011
Old 07-05-2013 , 14:13   Re: [l4d2] help:about flags explain,f_plugin
Reply With Quote #6

i don't speak english ,
though i don't understand but i thx yet.
good good study ,day day up !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
----------------------

1<<0 : 001 ;
1<<1 : 010;
1<<2 : 100;

1<<8 : 100,000,000;

like this ?

one or more byte or register mark ?

Last edited by dabaicai; 07-06-2013 at 02:09.
dabaicai 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 10:18.


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