Raised This Month: $ Target: $400
 0% 

Reliable client_cmd


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 04-11-2011 , 06:40   Re: Reliable client_cmd
Reply With Quote #7

Quote:
Originally Posted by ConnorMcLeod View Post
Which kind of command ?
If you don't want the ping delay and if you don't need amxx to catch the command you can just use engclient_cmd, command is straightly sent to engine.
Example this command nosound 1
In one of forward I want to send this
PHP Code:
public forward_pre(idclient_cmd(0"nosound 1"
And this
PHP Code:
public forward_post(id)
{
   
client_cmd(0"nosound 0")
   
emit_sound(...)

But command nosound 1 and nosound 0 income to client is not at the time.
emit_sound income to client earlier than command nosound 0
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
 



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 19:47.


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