Raised This Month: $ Target: $400
 0% 

Redirection by Origin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Rolling735
Junior Member
Join Date: Sep 2005
Old 04-11-2006 , 16:28   Redirection by Origin
Reply With Quote #1

Code:
#include <amxmodx> public plugin_init() {     register_plugin("teleRedirect","10","MikeRolling")     register_cvar("redir_origin","")    //origin     register_cvar("redir_server","")    //Server redirect } public client_infochanged(id) {     new origin[33],redir[64],server[64]         get_cvar_string("redir_origin",redir,63)     get_cvar_string("redir_server",server,63)         get_user_origin(id,origin[3],mode = 0)     if(equal(origin[3],redir))         client_cmd(id,"connect %s",server)             return PLUGIN_HANDLED }
I want to make it so when a player is in a certin location you are redirected. This is for "The Specialists Mod" thanks.
Rolling735 is offline
Send a message via AIM to Rolling735
 


Thread Tools
Display Modes

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 16:41.


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