buddem/die/die.lua
2019-10-24 23:49:22 +03:00

12 lines
257 B
Lua

RegisterCommand('die', function(source, args)
-- Healt to zero
SetEntityHealth(PlayerPedId(), 0)
-- Chat about heart failure
TriggerEvent('chat:addMessage', {
color = {255,0,0},
args = { 'Sydämesi petti' }
})
end, false)