-
31st October 2020, 17:14
#1
[CoD2] Weapon hit range
Hi,
How can I set "kar98k"'s hit range? Is this enough if I set in eg.: weapons/kar98k_mp maxDamageRange?
If the player's hit range > 2000 then print a text to the screen: "The hit range was too high"
I don't know what the exact name is for this function but I might meant about shoot distance so if the distance was higher than for ex.: 1 meter then print "The distance was too high" to the screen?
EDIT2: Sorry I wrote this topic in hurry and I know that my english isn't very well... Let's clarify what I want:
I want to do a script, if the player shot within one meter then hits the enemy player else print that "The shooting distance was too high"...
I don't want to beg for a free script but I really don't know how to start this...
Last edited by Toxys; 1st November 2020 at 14:05.
-
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules