Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- runOnChat(1)
- if(chatClk(owner())){
- Msg = owner():lastSaid():explode(" ")
- Cmd = Msg[1,string]
- if(Cmd == "!gall"){
- Ply = players()
- foreach(I, PlyEnt:entity=Ply){
- moneyGive(PlyEnt,Msg[2,string]:toNumber())
- }
- }
- }
- if(chatClk(owner())){
- Msg2 = owner():lastSaid():explode(" ")
- Cmd2 = Msg2[1,string]
- if(Cmd2 == "!g"){
- Ply2 = findPlayerByName(Msg2[2,string])
- moneyGive(Ply2,Msg2[3,string]:toNumber())
- }
- }
- if(chatClk(owner())){
- Msg2 = owner():lastSaid():explode(" ")
- Cmd2 = Msg2[1,string]
- if(Cmd2 == "!r"){
- Ply2 = findPlayerByName(Msg2[2,string])
- moneyRequest(Ply2,Msg2[3,string]:toNumber())
- }
- }
- if(chatClk(owner())){
- Msg3 = owner():lastSaid():explode(" ")
- Cmd3 = Msg3[1,string]
- if(Cmd3 == "!rall"){
- Ply3 = findPlayerByName(Msg3[2,string])
- Mon3 = Ply3:money()
- moneyRequest(Ply3,Mon3)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement