Raised This Month: $ Target: $400
 0% 

redirect a steamid


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 11-04-2005 , 20:37  
Reply With Quote #1

Sorry, screwed up in the pasting. try this:

Code:
#include <amxmodx> public plugin_init() {     register_plugin("Redirect","0.9.4","JTP10181 / sonic")     register_cvar("redir_steamid","STEAM_0:0:123456")     register_cvar("redir_server","127.0.0.1") } public client_authorized(id) {     new steamid[33],redir[64],server[64]         get_cvar_string("redir_steamid",redir,63)     get_cvar_string("redir_server",server,63)         get_user_authid(id,steamid,32)     if(equal(steamid,redir))         client_cmd(id,"connect %s",server)             return PLUGIN_HANDLED }
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
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 23:37.


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