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

CreateConVar wordlist


Post New Thread Reply   
 
Thread Tools Display Modes
Scone
Senior Member
Join Date: Apr 2010
Location: England
Old 04-28-2010 , 06:21   Re: CreateConVar wordlist
Reply With Quote #21

You need to read the config in OnConfigsExecuted, not OnPluginStart.
__________________
Scone is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 04-28-2010 , 08:01   Re: CreateConVar wordlist
Reply With Quote #22

Oh, thank you ;D

Why do all name their variables with g_... ?

And why can i write with semicolons and without , without it's easyer or?
__________________

Last edited by dordnung; 04-28-2010 at 08:10.
dordnung is offline
Scone
Senior Member
Join Date: Apr 2010
Location: England
Old 04-28-2010 , 08:57   Re: CreateConVar wordlist
Reply With Quote #23

Most people start their global variables with "g_" - it just helps you quickly work out which variables are local and which aren't.

Using semicolons in your code is good practice, and if you add "#pragma semicolon 1" at the beginning of your code, the compiler makes sure there's a semicolon at the end of each statement (so you don't have a mix of both styles in the same code).
__________________
Scone is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 04-28-2010 , 08:58   Re: CreateConVar wordlist
Reply With Quote #24

Yeah, you've right, in java i always forget the semicolom
__________________
dordnung 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 15:38.


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