Raised This Month: $ Target: $400
 0% 

model


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 06-06-2009 , 18:00   Re: model
Reply With Quote #3

Quote:
Originally Posted by TitANious View Post
#define MODEL_NAME "models/player/model_name"
#define for a string isn't good idea.
Code:
new ModelPathCVar;   public plugin_init()         ModelPathCVar = register_cvar("amx_model", "models/model.mdl");   public SomeFunction() {         new ModelPath[64];         get_pcvar_string(ModelPathCVar, ModelPath, 63);           // ModelPath now contains the string that is in CVar }
__________________

Last edited by hleV; 06-06-2009 at 18:04.
hleV 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 13:55.


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