Raised This Month: $ Target: $400
 0% 

dont getting admin privilleges with CZ listen server


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
skulldiggers
Member
Join Date: Sep 2004
Old 11-25-2004 , 17:18  
Reply With Quote #3

now is working

find this

Quote:
#if !defined NO_STEAM

public ackSignal(id)
server_cmd("kick #%d", get_user_userid(id) )
public client_authorized(id)
#else
public client_connect(id)
#endif
return get_cvar_num( "amx_mode" ) ? accessUser( id ) : PLUGIN_CONTINUE
replace with:

Quote:

#if !defined NO_STEAM

public ackSignal(id)
server_cmd("kick #%d", get_user_userid(id) )

// So that the local player can get his access on listen servers
public client_connect(id)
{
if(!is_dedicated_server())
{
new ip[9]
get_user_ip(id,ip,8,1)
if(equal(ip,"loopback"))
accessUser(id)
}
}

public client_authorized(id)
#else
public client_connect(id)
#endif
return get_cvar_num( "amx_mode" ) ? accessUser( id ) : PLUGIN_CONTINUE

if mod. wanna, close this.

thanks..
__________________
Headshot rules...
skulldiggers 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 00:29.


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