Advertisement
Guest User

Untitled

a guest
Jan 17th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. function Fizetes (PizzaHomerseglet)
  2. if PizzaHomerseglet then
  3. local rand = math.random(1,#fizetesek)
  4. local fizetes = fizetesek[rand]
  5. local borravalo = math.random(2, 5)
  6. localPlayer:setData("char:money", localPlayer:getData("char:money") + fizetes + borravalo)
  7. outputChatBox("#7cc576[Pizzafutár]:#FFFFFF A rendelő kifizette a pizza árát. Fizetséged: #7cc576"..fizetes .. " + ".. borravalo.."#FFFFFF Ft",255,255,255,true)
  8. setTimer ( function()
  9. atvette = {
  10. {"Köszönöm szépen!"},
  11. {"Köszi!"},
  12. {"Kösz tesa"},
  13. {"Köszönöm szépen, viszlát!"},
  14. {"Na végre."},
  15. }
  16.  
  17. atveszi = math.random(#atvette)
  18. outputChatBox("#FFFFFF".. megrendeloke .."mondja: #e7d9b0".. atvette[atveszi][1] .."",255, 255, 255, true) --Franklyn Jhonson
  19. --outputChatBox("#ffffffKócos Cina mondja:#e7d9b0 megkurlak te tetü", player, 255, 255, 255, true)
  20. end, 200, 1 )
  21.  
  22. end
  23. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement