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

dont getting admin privilleges with CZ listen server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
skulldiggers
Member
Join Date: Sep 2004
Old 11-25-2004 , 13:45   dont getting admin privilleges with CZ listen server
Reply With Quote #1

hi @

ok, i`m noob...

i dont get admin privileges with CZ listen server...

i ONLY get admin privilleges if i change my name....

why ??
__________________
Headshot rules...
skulldiggers is offline
Peli
Veteran Member
Join Date: Mar 2004
Location: San Diego, CA
Old 11-25-2004 , 14:27  
Reply With Quote #2

Try showing us your Users.ini.
Peli is offline
Send a message via MSN to Peli
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
f1del1ty.oXi
Veteran Member
Join Date: Nov 2004
Old 11-26-2004 , 00:06  
Reply With Quote #4

I'm confused.


Your a newb to this...and yet your showing us code edits? And when you probably did something wrong with your users.ini file, you made it hard and changed the code?

I don't understand.
f1del1ty.oXi is offline
Reply



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 12:32.


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