how can i fix it? my first time on lua coding im learning to code
![](img/smiles/wink.gif)
msg2(id,"<message>")
addhook("die","firstlua") function firstlua() msg2(id,"©255000000You Died!") msg2(id,"©255000000Wait For Next Round.") end ----END----
function firstlua(id)
victimas
idnatively, unless you manually retrieve that value by iterating over living players. Therefore id must be replaced with victim inside the two
msg2()functions as well.
addhook("die","death") function death(asshole) msg2(asshole,"Rest in peace") end
-- Start -- addhook("die","player_dieMsg") function player_dieMsg(victim,killer) 	msg2(victim,"Get rekt noob!!!") 	msg2(victim,"You got owned by "..killer.."!!!") end -- End --
"..killer.."will display the ID instead of the name.
msg2(victim,"You got owned by "..killer(id,"name").."!!!")
player(id, value)
killerand the value we want to retrieve is
name:
player(killer, "name")