AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Solved how to give damage to the player i'm looking at? (https://forums.alliedmods.net/showthread.php?t=325159)

Grovliom 06-10-2020 11:49

how to give damage to the player i'm looking at?
 
how do i do it?

gabuch2 06-10-2020 12:22

Re: how to give damage to the player i'm looking at?
 
https://www.amxmodx.org/api/amxmodx/get_user_aiming

Grovliom 06-10-2020 13:17

Re: how to give damage to the player i'm looking at?
 
Quote:

Originally Posted by Gabe Iggy (Post 2704974)

how do i damage the player that im looking at?

Grovliom 06-10-2020 13:20

Re: how to give damage to the player i'm looking at?
 
Quote:

Originally Posted by Gabe Iggy (Post 2704974)

ok i got it! thanks!

supertrio17 06-11-2020 22:34

Re: how to give damage to the player i'm looking at?
 
Quote:

Originally Posted by Gabe Iggy (Post 2704974)

That would be awesome on slapping plugin. Imagine looking at player and just pressing a key to slap him.

Bugsy 06-11-2020 22:41

Re: how to give damage to the player i'm looking at?
 
Quote:

Originally Posted by supertrio17 (Post 2705218)
That would be awesome on slapping plugin. Imagine looking at player and just pressing a key to slap him.

This does similar. Look at player and press USE

https://forums.alliedmods.net/showpo...5&postcount=18

OciXCrom 06-12-2020 08:25

Re: how to give damage to the player i'm looking at?
 
With this one you can make any command executable on the target you're aiming at - https://forums.alliedmods.net/showthread.php?t=292897

bind key "amx_slap @aim"


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

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