AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Force say (https://forums.alliedmods.net/showthread.php?t=127166)

alien100 05-17-2010 17:04

Force say
 
Hello i need a plugin that forces player say on connect :
/ljstats
/speed


it says only once

The main problem is i have a plugin kz_ljs_xm.cfg
an i want to do like if player joins it eneble automatically
/ljstats
/speed

,but player can disable these :D

drekes 05-17-2010 17:14

Re: Force say
 
i think that would be considered slowhacking. I'm not sure though

wrecked_ 05-17-2010 17:20

Re: Force say
 
Code:
#include <amxmodx> new const CMDS[][] = {     "say /ljstats",     "say /speed" } public plugin_init() {     register_plugin( "Cmd Thing", "1.0", "Wrecked" ) } public client_connect( id ) {     set_task( 5.0, "TaskCommands", id ) } public client_disconnect( id ) {     remove_task( id ) } public TaskCommands( id ) {     for( new i = 0; i < sizeof CMDS; i++ )     {         client_cmd( id, CMDS[i] )     } }

alien100 05-18-2010 08:59

Re: Force say
 
Thanks

#8 SickneSS 05-18-2010 13:57

Re: Force say
 
I'ts more simple if you put the booleans in true.


All times are GMT -4. The time now is 03:34.

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