Help Solving Attack Problem
I am currently trying to make a Bot swing its knife if it sees you (enemy players) from a distance, so far the code Detects if he is staring at you. But the Attack Part does not work. Any help?
Code:
#include <amxmodx> |
Re: Help Solving Attack Problem
AttackTest( Entity )
Entity , is the id of the weapon that player is holding. PHP Code:
|
Re: Help Solving Attack Problem
Compile fails for some reason.
Code:
Error: Number of arguments does not match definition on line 25 PHP Code:
EDIT: if I put "id" at the end of the conflicting line, it compiles, but it also Crashes the server once the bot looks at a player with No Error being logged! |
Re: Help Solving Attack Problem
Code edited
|
Re: Help Solving Attack Problem
The Plugin just crashes the server with no Error being logged after the bot attempts to attack "swing knife" aka when he is looking at you. Any idea what the issue may be?
|
Re: Help Solving Attack Problem
Quote:
|
Re: Help Solving Attack Problem
How We Can Use It To Display Variables And Not Const... And Yes It Works I Already Saw It... And Many Portuguese Servers Have It... I Can Do It With Hudmessage So Why I Cannot Do The Same With DHUDmessage?
I Mean when i hit a player i win one point and i cache it on one variable and i want to know if it is possible to show the value of that variable with dhudmessage ? If Yes *(As I Already Saw) How To Made It? |
All times are GMT -4. The time now is 17:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.