Raised This Month: $ Target: $400
 0% 

Help: Allowing downloads based on map size.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 07-06-2004 , 09:32  
Reply With Quote #8

instead of using client_cmd(id

try using

Quote:
console_print ( id, const message[], ... )
Soo your code would look like this

Code:
public client_connect(id){    if (get_cvar_num("sv_allowdownload")==0){       console_print(id, "========================================================================")       console_print(id, "[KOA] This map is too big to download from the server.")       console_print(id, "[KOA] Please download this map from www.K-O-A.com.")       console_print(id, "========================================================================")    } else {       console_print(id, "========================================================================")       console_print(id, "[KOA] As this map is less than 4mb, you can download it from our server.")       console_print(id, "Visit <a href="http://www.K-O-A.com" target="_blank" rel="nofollow noopener">www.K-O-A.com</a> for more info.")    } }

I hope that helps you out man
__________________

BigBaller 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 14:39.


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