Scp1509Resurrected
Gets called after a player has been resurrected with the Scp1509 item.
Start a script section
!-- OnEvent Scp1509Resurrected
-- require @evPlayer *evItem @evKilledPlayer @evRevivedPlayer $evRespawnRole
# Add your instructions here
- Group: PlayerEvents
- Cancellable: No
- Event data:
PlayerScp1509ResurrectedEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player that invoked the event. |
*evItem | reference to Scp1509Item object | Gets the SCP-1509 item that was used. |
@evKilledPlayer | player value | Gets the player who died by Item. |
@evRevivedPlayer | player value | Gets the player that got revived. |
$evRespawnRole | RoleTypeId enum value | Gets the role of the revived player. |