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

Whats called before client_connect?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
JocAnis
Veteran Member
Join Date: Jun 2010
Old 02-20-2018 , 04:55   Whats called before client_connect?
Reply With Quote #1

hey guys...like title said, which function is called before client_connect? i will say plugin_init, but i guess its totally nonsense answer

why am asking this?
we know for the multi fast download plugin...if you know if it really has a point its cool if you share with us...in my opinion it will give more problems to the server than having only one sv_downloadurl link...
so my idea is:
check if: currentmap = "de_dust2" then 'amx_cvar sv_downloadurl FDL1'
else if currentmap = "de_arboretum" then 'amx_cvar sv_downloadurl FD2'
else = plugin continues with sv_downloadurl from server.cfg

so is it possible to make that fast, to check whats currentmap on the server and immediately change sv_downloadurl cvar, all has to be done before first player connect to the server (client_connect?)
i would like to see yes as answer, but im not that optimistic for this...im trying to make really practical/functional multi fast dl plugin (ofc no offense to author of current version of multi dl)
thanks in advance!
JocAnis 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 15:00.


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