Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if tries < 3 then
- if playerchoice == computerchoice then
- TriggerEvent("pNotify:SendNotification", {
- text = 'Du gissade rätt',
- type = "success",
- queue = "records",
- timeout = 3000,
- layout = "bottomCenter"
- })
- ESX.UI.Menu.CloseAll()
- TriggerEvent("pNotify:SendNotification", {
- text = 'Du mottog din vinst på ' .. price*1.2 .. ' kr',
- type = "success",
- queue = "records",
- timeout = 3000,
- layout = "bottomCenter"
- })
- elseif playerchoice < computerchoice then
- TriggerEvent("pNotify:SendNotification", {
- text = 'För lågt',
- type = "success",
- queue = "records",
- timeout = 3000,
- layout = "bottomCenter"
- })
- tries=tries+1
- elseif playerchoice > computerchoice then
- TriggerEvent("pNotify:SendNotification", {
- text = 'För högt',
- type = "success",
- queue = "records",
- timeout = 3000,
- layout = "bottomCenter"
- })
- tries=tries+1
- end
- end
- end
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement