Raised This Month: $ Target: $400
 0% 

My CVAR Problems/and other questions.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 07-24-2010 , 00:07   Re: My CVAR Problems/and other questions.
Reply With Quote #2

PHP Code:
show_hudmessage(0"Our Website : %s"website[28]); 

PHP Code:
show_hudmessage(0"Our Website : %s"website); 
Try that, the way you did it was only showing the last character which i think would be blank
because you say it shows nothing.

EDIT:
It is better to make 1 global task instead of 32 individual tasks.
PHP Code:
#include <amxmodx>
#include <cstrike>
#define PLUGIN "Server Display"
#define VERSION "3.0"
#define AUTHOR "MoE | -hAbd-"
new website[29]
public 
plugin_init()
{
 
register_plugin(PLUGINVERSIONAUTHOR);
 
register_cvar("sd_website""awebsite");
 
get_cvar_string("sd_website"website28);

 
set_task(80.0"Displayhud"___"b");
}

public 
Displayhud()
{
 
set_hudmessage02550, -1.00.006.012.0);
 
show_hudmessage(0"Our Website : %s"website);

I don't know what you mean with the function headers. Could you give an example for that?
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.

Last edited by drekes; 07-24-2010 at 00:11.
drekes is offline
Send a message via MSN to drekes
 



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 00:15.


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