deskwar123
07-03-2015, 06:48 PM
Full script https://raw.githubusercontent.com/Chuitox/xenobot-casino/master/Casino%20Script.lua
i need change casino messages.. if the player chose low/high use different messages.. In the script is :
if not Message then
Message = Lose_Messages[math.random(1, #Lose_Messages)]
end
i tried this :
if not Message then
if (table.contains({'h','high','456'}, Player_Option)) then
Message = Lose_Messageslow[math.random(1, #Lose_Messageslow)]
end
end
else
if (table.contains({'l','low','123'}, Player_Option)) then
Message = Lose_Messageshigh[math.random(1, #Lose_Messageshigh)]
end
but dont worked, someone help me please :confused:
i need change casino messages.. if the player chose low/high use different messages.. In the script is :
if not Message then
Message = Lose_Messages[math.random(1, #Lose_Messages)]
end
i tried this :
if not Message then
if (table.contains({'h','high','456'}, Player_Option)) then
Message = Lose_Messageslow[math.random(1, #Lose_Messageslow)]
end
end
else
if (table.contains({'l','low','123'}, Player_Option)) then
Message = Lose_Messageshigh[math.random(1, #Lose_Messageshigh)]
end
but dont worked, someone help me please :confused: