Advertisement
xXJackXx

Untitled

Jul 24th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. runOnChat(1)
  2.  
  3. if(chatClk(owner())){
  4. Msg = owner():lastSaid():explode(" ")
  5. Cmd = Msg[1,string]
  6. if(Cmd == "!gall"){
  7. Ply = players()
  8. foreach(I, PlyEnt:entity=Ply){
  9. moneyGive(PlyEnt,Msg[2,string]:toNumber())
  10. }
  11. }
  12. }
  13.  
  14.  
  15. if(chatClk(owner())){
  16. Msg2 = owner():lastSaid():explode(" ")
  17. Cmd2 = Msg2[1,string]
  18. if(Cmd2 == "!g"){
  19. Ply2 = findPlayerByName(Msg2[2,string])
  20. moneyGive(Ply2,Msg2[3,string]:toNumber())
  21. }
  22. }
  23.  
  24.  
  25. if(chatClk(owner())){
  26. Msg2 = owner():lastSaid():explode(" ")
  27. Cmd2 = Msg2[1,string]
  28. if(Cmd2 == "!r"){
  29. Ply2 = findPlayerByName(Msg2[2,string])
  30. moneyRequest(Ply2,Msg2[3,string]:toNumber())
  31. }
  32. }
  33.  
  34. if(chatClk(owner())){
  35. Msg3 = owner():lastSaid():explode(" ")
  36. Cmd3 = Msg3[1,string]
  37. if(Cmd3 == "!rall"){
  38. Ply3 = findPlayerByName(Msg3[2,string])
  39. Mon3 = Ply3:money()
  40. moneyRequest(Ply3,Mon3)
  41. }
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement