Add files via upload
This commit is contained in:
parent
8bde47b30a
commit
075a3a2f3b
9 changed files with 133 additions and 0 deletions
3
die/__resource.lua
Normal file
3
die/__resource.lua
Normal file
|
@ -0,0 +1,3 @@
|
|||
resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937'
|
||||
|
||||
client_script 'die.lua'
|
11
die/die.lua
Normal file
11
die/die.lua
Normal file
|
@ -0,0 +1,11 @@
|
|||
RegisterCommand('die', function(source, args)
|
||||
|
||||
|
||||
SetEntityHealth(PlayerPedId(), 0)
|
||||
TriggerEvent('chat:addMessage', {
|
||||
color = {255,0,0},
|
||||
args = { 'Sydämesi petti' }
|
||||
})
|
||||
|
||||
end, false)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue