Solved SkRayFall Crackshot

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Plajer

Member
Feb 1, 2017
10
1
0
54
Hi!
I've got strange problem.
I'm using lastest Crackshot and SkRayFall 1.9.7. (Skript 2.2 dev-25)
When i try to make that code:
Code:
On Crackshot Damage:
   broadcast "%shooter% shot with %event-string% at %event-entity%!"
It keeps giving me that:
"<none> shot with *gun* at *shooting player*"
for example:
"<none> shot with AK-47 at Plajer"

Anyone can help me with this issue?
 
Hi!
I've got strange problem.
I'm using lastest Crackshot and SkRayFall 1.9.7. (Skript 2.2 dev-25)
When i try to make that code:
Code:
On Crackshot Damage:
   broadcast "%shooter% shot with %event-string% at %event-entity%!"
It keeps giving me that:
"<none> shot with *gun* at *shooting player*"
for example:
"<none> shot with AK-47 at Plajer"

Anyone can help me with this issue?
Try %attacker% instead of %shooter% and for the victim use %victim%
 
Try %attacker% instead of %shooter% and for the victim use %victim%
I got error that says attacker and victim can't be used in non damage events or sth like that.
[doublepost=1494520512,1494348378][/doublepost]bump
 
Code:
On Crackshot Damage:
   broadcast "%shooter% shot with %event-string% at %event-entity%!"
[doublepost=1494809715,1494610323][/doublepost]bump
[doublepost=1495044931][/doublepost]bump
[doublepost=1495228126][/doublepost]bump
 
I'm not sure why it doesn't work but you could always do this:

Code:
on damage:
    if damage was caused by projectile:
        broadcast "%attacker% shot with %name of attacker's tool% at %victim%!"
 
Status
Not open for further replies.