Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.
New to the forum? Say hello in this topic! Also make sure to read the rules.
New to the forum? Say hello in this topic! Also make sure to read the rules.
Determine if player corpse is burned
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
-
- Superfighter
- Posts: 97
- Joined: Thu Feb 07, 2019 4:36 am
Determine if player corpse is burned
I am writing a script to convert infected players into zombies after dying only if the corpses are not burned yet. Currently there is only IPlayer.IsBurning but only if player is CURRENTLY burning which are not necessarily burning at the time the corpse turn into zombie. Something like IPlayer.IsBurnedCorpse?
1 x
- Gurt
- Lead Programmer
- Posts: 1884
- Joined: Sun Feb 28, 2016 3:22 pm
- Title: Lead programmer
- Started SFD: Made it!
- Location: Sweden
- Gender:
- Age: 34
Good suggestion, adding it in the next update after v.1.1.1.
ScriptAPI: Added IPlayer.IsBurnedCorpse to see if the corpse is burned.
ScriptAPI: Added IPlayer.IsBurningInferno to see if a player is a burning inferno (burning rank 2).
ScriptAPI: Added IPlayer.IsBurnedCorpse to see if the corpse is burned.
ScriptAPI: Added IPlayer.IsBurningInferno to see if a player is a burning inferno (burning rank 2).
3 x
Gurt