Raised This Month: $ Target: $400
 0% 

Showing results 1 to 11 of 11
Search took 0.00 seconds.
Search: Posts Made By: Boop
Forum: Scripting Help 01-02-2007, 15:02
Replies: 19
Views: 6,263
Posted By Boop
Re: Block knife attack

Someone else thinks that there is a bug with trace_hull too ?
Forum: Scripting Help 12-29-2006, 16:10
Replies: 19
Views: 6,263
Posted By Boop
Re: Block knife attack

This doesn't work :( It takes without problem "a valid hit" but the damaged are given. It doesn't block them ..... maybe because we call fw_tracehull with the flag 1 no ??

So if we use...
Forum: Scripting Help 12-29-2006, 06:09
Replies: 19
Views: 6,263
Posted By Boop
Re: Block knife attack

Yes, if I register the forward with the 1 flag, I can get ID of player who is attacked by knife. But, we can't block the function if we hook it with the flag 1 no ??
Forum: Scripting Help 12-28-2006, 19:17
Replies: 19
Views: 6,263
Posted By Boop
Re: Block knife attack

With this code (hit = get_tr2(ptr, TR_pHit)) , the server crash. I don't know if this will help you to find a solution : I can get an "target" if I use :

register_forward(FM_TraceHull,...
Forum: Scripting Help 12-28-2006, 06:12
Replies: 19
Views: 6,263
Posted By Boop
Re: Block knife attack

I tried this (everyone is immune) :


#include <amxmodx>
#include <amxmisc>
#include <fakemeta>

new bool:knifeImmune[33] = true;

public plugin_init() {
Forum: Scripting Help 12-27-2006, 10:18
Replies: 19
Views: 6,263
Posted By Boop
Re: Block knife attack

Thank you but I think that it will be hard (for me) to do something with this C++ code for a plugin ... written in Pawn.

However, someone can explain how to use trace_hull to solve my problem or...
Forum: Scripting Help 12-27-2006, 09:16
Replies: 19
Views: 6,263
Posted By Boop
Re: Block knife attack

Maybe I'm stupid but i don't understand what u say. Your code isn't a Pawn Code ??

I try to block knife attack from some people against specific others. I've read that i need to use trace_hull...
Forum: Scripting Help 12-27-2006, 08:26
Replies: 19
Views: 6,263
Posted By Boop
Re: Block knife attack

After a search, one solution to this problem seems to be trace_hull. People tells that this function is adapted but I don't find example of its use.

Somebody can tell me (knows) how use this...
Forum: Scripting Help 12-26-2006, 13:52
Replies: 19
Views: 6,263
Posted By Boop
Block knife attack

Hi,

To make someone invulnerable for some players , i see that there are two methods :

- Traceline
- Set_user_hitzones

Nevertheless, I Have one problem, people aren't protect against knife...
Forum: Scripting Help 12-24-2006, 15:18
Replies: 3
Views: 1,143
Posted By Boop
Re: Remove TK message

Maybe my question wasn't clear because of my bad english. I just want to block the message which appear in the chat when someone Tk.

No idea to block this ?? :|

Tks to tell me if my question is...
Forum: Scripting Help 12-24-2006, 10:58
Replies: 3
Views: 1,143
Posted By Boop
Remove TK message

Hi,

I search a mean to remove the message displayed in the chat when you TK someone. Somebody has an idea ? A way ??

Thank you

Sorry for my bad english ;)
Showing results 1 to 11 of 11

 
Forum Jump

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


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