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

Solved [CS:GO] FakeClientCommand with +attack


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
manicogaming
AlliedModders Donor
Join Date: Aug 2014
Old 03-18-2019 , 19:32   [CS:GO] FakeClientCommand with +attack
Reply With Quote #1

Can I put in FakeClientCommand +attack?

I tried it and it's not working is it just something wrong that I'm doing or is it not possible to do?

It gives me this error on the console:
Code:
Unknown command: +attack
Unknown command: -attack
The code:
PHP Code:
int weapon GetEntPropEnt(iProp_Send"m_hActiveWeapon");

if (
weapon != -1)
{
    
int index GetEntProp(weaponProp_Send"m_iItemDefinitionIndex"); 
 
    if((
index  == 43) || (index == 44) || (index == 45) || (index == 46) || (index == 48)) 
    {
        
FakeClientCommand(i"+attack"); 
        
FakeClientCommand(i"-attack"); 
    } 


Last edited by manicogaming; 03-19-2019 at 14:04. Reason: Made a new post with new details
manicogaming is offline
farawayf
Senior Member
Join Date: Jan 2019
Old 03-19-2019 , 08:44   Re: [CS:GO] FakeClientCommand with +attack
Reply With Quote #2

do better

PHP Code:
  IN_ATTACK//+
  
~IN_ATTACK//- 
fakeclientcommand can't do client side commands

Last edited by farawayf; 03-19-2019 at 08:46.
farawayf is offline
manicogaming
AlliedModders Donor
Join Date: Aug 2014
Old 03-19-2019 , 10:03   Re: [CS:GO] FakeClientCommand with +attack
Reply With Quote #3

Quote:
Originally Posted by farawayf View Post
do better

PHP Code:
  IN_ATTACK//+
  
~IN_ATTACK//- 
fakeclientcommand can't do client side commands
Then how can I use IN_ATTACK to force bots to instantly throw their grenades?
manicogaming is offline
Reply


Thread Tools
Display Modes

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 18:17.


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