Raised This Month: $32 Target: $400
 8% 

How to change server_cmd commands


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AMeEeRo
BANNED
Join Date: Dec 2013
Location: Who care ?
Old 03-29-2014 , 07:08   How to change server_cmd commands
Reply With Quote #1

Hello,
i need small help ...
If i want to change kick and message, i mean i want to replace kick with redirect_user and after player id number 2
like this
redirect_user #%d and i want to remove that message after it
sorry i'm newbie just help me with this and i will get the idea for all plugins and thanks.
example:
PHP Code:
server_cmd("kick #%d ^"You were kicked for joining a team and idling without choosing a model.^""get_user_userid(id) ) 
Thanks.
AMeEeRo is offline
amx_tiger
Junior Member
Join Date: Aug 2012
Old 03-29-2014 , 07:46   Re: How to change server_cmd commands
Reply With Quote #2

I think this is what you want:

PHP Code:
server_cmd("redirect_user #%d"get_user_userid(id)) 
amx_tiger is offline
AMeEeRo
BANNED
Join Date: Dec 2013
Location: Who care ?
Old 03-30-2014 , 06:26   Re: How to change server_cmd commands
Reply With Quote #3

Quote:
Originally Posted by amx_tiger View Post
I think this is what you want:

PHP Code:
server_cmd("redirect_user #%d"get_user_userid(id)) 
PHP Code:
server_cmd("redirect_user #%d 2"get_user_userid(id)) 
Like that thanks
AMeEeRo 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 07:24.


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