- 0
[FIXED] Error in server_playerDied.sqf
-
Similar Content
-
- 7 replies
- 3519 views
-
- 3 answers
- 373 views
-
- 0 replies
- 1358 views
-
- 1 reply
- 812 views
-
- 0 answers
- 1744 views
-
- Advertisement
Question
gernika
what is that error?
im using the default 1.6.2 server_playerDied.sqf
// DEATH MESSAGES _suicide = ((_sourceName == _playerName) or (_method == "suicide")); if (_method in ["explosion","melee","shot","shothead","shotheavy","suicide"] && !(_method == "explosion" && (_suicide or _sourceName == "unknown"))) then { if (_suicide) then { _message = ["suicide",_playerName]; } else { if (_sourceWeapon == "") then {_sourceWeapon = "unknown weapon";};/////////////////LINE 49 _message = ["killed",_playerName,_sourceName,_sourceWeapon,_distance]; // Store death messages to allow viewing at message board in trader citys. PlayerDeaths set [count PlayerDeaths,[_playerName,_sourceName,_sourceWeapon,_distance,ServerCurrentTime]]; }; } else { // No source name, distance or weapon needed: "%1 died from %2" str_death_%1 (see stringtable) // Possible methods: ["bled","combatlog","crash","crushed","dehyd","eject","fall","starve","sick","rad","runover","unknown","zombie"] _message = ["died",_playerName,_method]; };
my custom configVariables.sqf
// Death Messages DZE_DeathMsgChat = "none"; //"none","global","side","system" Display death messages in selected chat channel. DZE_DeathMsgDynamicText = true; // Display death messages as dynamicText in the top left with weapon icons. DZE_DeathMsgRolling = false; // Display death messages as rolling messages in bottom center of screen. DZE_DeathScreen = true; // True=Use Epoch death screen (Trade city obituaries have been amended) False=Use DayZ death screen (You are dead)
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now