![]() |
Re: Executing command on other clients?
This comes from part of my admin stuff and a monster slap command, thanks botman for monster plugin :)
CLIENT_COMMAND(INDEXENT(i), "say I\'m a Llama, please forgive me!\n"); Yes speak should work. |
Re: Executing command on other clients?
Just a quick note:
You shouldn't use INDEXENT in a function call like that, a better way is to assign the result to an edict_t pointer and test it with FNullEnt and then call the function. |
Re: Executing command on other clients?
Code:
for (i = 1; i <= gpGlobals->maxClients; i++) |
All times are GMT +2. The time now is 20:41. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.