krzychunieogarnia
10-11-2016, 05:07 PM
Hello, I have a problem this is my script for a combo ue, but unfortunately it does not want to work or you find an error? . Earlier this script worked without a problem
local LeaderName = "Leader Name"
local Delay = 500
local UseHud = true
-- Script (Leave this alone)
if UseHud then
local HUDText = HUD.CreateTextDisplay(23, 7, "Leader: ", 0, 0, 255)
local HUDText2 = HUD.CreateTextDisplay(72, 7, LeaderName, 255, 0, 0)
end
LocalSpeechProxy.OnReceive("Casino_LocalProxy", function(proxy, mtype, speaker, level, text)
local LeaderMessage = "Exevo Gran Mas flam"
if speaker == LeaderName and text == LeaderMessage then
Self.Say("Exevo Gran Mas Frigo")
wait(Delay)
end
end)
local LeaderName = "Leader Name"
local Delay = 500
local UseHud = true
-- Script (Leave this alone)
if UseHud then
local HUDText = HUD.CreateTextDisplay(23, 7, "Leader: ", 0, 0, 255)
local HUDText2 = HUD.CreateTextDisplay(72, 7, LeaderName, 255, 0, 0)
end
LocalSpeechProxy.OnReceive("Casino_LocalProxy", function(proxy, mtype, speaker, level, text)
local LeaderMessage = "Exevo Gran Mas flam"
if speaker == LeaderName and text == LeaderMessage then
Self.Say("Exevo Gran Mas Frigo")
wait(Delay)
end
end)