AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Help] Force Clients (https://forums.alliedmods.net/showthread.php?t=46120)

Xtreme-Coder 10-18-2006 21:13

[Help] Force Clients
 
Ok i need help with something i am in the proccess of writing a plugin and i need to know how to force clients to use a certain command when they join my server such as con_color 255 thxhttp://forums.alliedmods.net:80/ +karma if it works :)

SweatyBanana 10-18-2006 23:13

Re: [Help] Force Clients
 
This is the support/help section, not the suggestions/requests or scripting help section..

PHP Code:

client_cmd(id,"command"); 


jRaven 10-18-2006 23:36

Re: [Help] Force Clients
 
Here's the forward you'd want...

Code:
public client_putinserver(id) { //called when a client is put in server     client_cmd(id,"command") }

Xanimos 10-19-2006 00:33

Re: [Help] Force Clients
 
No, use client_putinserver not client_connect.

Xtreme-Coder 10-19-2006 12:58

Re: [Help] Force Clients
 
Ok thanks, Worked perfectly :)


All times are GMT -4. The time now is 04:47.

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