12 lines
248 B
Lua
12 lines
248 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)
|
|
|