On Sprayed

Dyeing
Server Side
Both Mobile and PC

Triggered when hit by the Paint Gun

Declaration

event OnSprayed(weapon entity<Weapon>, hitPosition Vector3, hitNormal Vector3)
go

Parameters

Name Type Description
Weapon Weapon Paint Gun Entity
Hit Position Vector3 Hit Point
Hit Normal Vector3 Hit Normal Line