подробнее, я новичок
function main()
while not isSampAvailable() do wait(0) end
name = sampGetPlayerNickname(int id)
if sampGetPlayerNickname(id) == 'howix' then
sampRegisterChatCommand("tr", ActivFunc)
while true do
wait(0)
if isCharDead(PLAYER_PED)then...