Login
Sign Up


You are using the mobile version of the forum, some features have been disabled to have it responsive.
Limelight Reunion 2024 - v4b1Limelight Discord
Ares Defence Services Discord
Limelight Reunion 2024 - v4b1Limelight DiscordAres Defence Services Discord

receiptDevelopment Blog:

Development Contributor Workflow

receiptHR Blog:

What *are* they doing over there?

receiptTeacher Blog:

Insight into the Teacher Team

receiptDevelopment Blog:

Infrastructure Upgrade 11/2019

receiptDevelopment Blog:

how suggestions???

receiptDevelopment Blog:

Planning for the future.


This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Need some code. [LUA]
Arch.B radio_button_checked
The OG
Membership
Posts: 360
Threads: 29
Likes Given: 274
Likes Recieved: 312 in 177 posts
Joined: Oct 2015
Reputation: 5
#1
May 2, 2016, 02:29 AM
Hay,
I need LUA code to take 10k from a player. 
Or just a hook,
Or just a console command,

Thanks xx

Inactive asf
The following 1 user Likes Arch.B's post:
  • ZooM
Soviethooves radio_button_checked
American Player
Media Contractor
Posts: 6,711
Threads: 185
Likes Given: 3303
Likes Recieved: 3986 in 2172 posts
Joined: Aug 2015
Reputation: 33
#2
May 2, 2016, 02:41 AM
/mug 10k
<span id="sceditor-end-marker" class="sceditor-selection sceditor-ignore" style="line-height: 0; display: none;"> </span><span id="sceditor-start-marker" class="sceditor-selection sceditor-ignore" style="line-height: 0; display: none;"> </span>
[Image: n0LLhCI.jpg]
The following 2 users Like Soviethooves's post:
  • Kridas, ZooM
Vaq Away
http://steamcommunity.com/id/shefcrp/
Membership
Posts: 236
Threads: 29
Likes Given: 74
Likes Recieved: 190 in 76 posts
Joined: Aug 2015
Reputation: 10
User is currently away.
#3
May 2, 2016, 03:48 AM
Code:
cider.command.add("takemoney", "a", 2, function(player, arguments)
    local target = cider.player.get( arguments[1] )
    local takeamount = cider.player.giveMoney(target, -arguments[2] )
        if (target) then
        cider.player.printMessageAll(player:Name().." took "..formatMoney(arguments[2]).." from "..target:Name()..".");
        cider.player.notify(player, "You took "..formatMoney(arguments[2]).." from player "..target:Name().."!", 0);
        cider.player.notify(target, ""..player:Name().." removed "..formatMoney(arguments[2]).." from your wallet!", 0);
        cider.player.giveMoney(target, takeamount);
    end;
end, "Admin Commands", "<player> <amount>", "Take money from a player.");
for cider
(This post was last modified: May 2, 2016, 03:49 AM by Vaq.)
The following 1 user Likes Vaq's post:
  • ZooM
bimkx radio_button_checked
Developer
Developer
Posts: 801
Threads: 47
Likes Given: 839
Likes Recieved: 699 in 294 posts
Joined: Aug 2015
Reputation: 9
#4
May 2, 2016, 03:49 AM
context?
what gamemode
The following 1 user Likes bimkx's post:
  • ZooM
Arch.B radio_button_checked
The OG
Membership
Posts: 360
Threads: 29
Likes Given: 274
Likes Recieved: 312 in 177 posts
Joined: Oct 2015
Reputation: 5
#5
May 2, 2016, 11:17 AM
Darkrp,
DButton to take the dosh

Inactive asf
The following 1 user Likes Arch.B's post:
  • ZooM
Arch.B radio_button_checked
The OG
Membership
Posts: 360
Threads: 29
Likes Given: 274
Likes Recieved: 312 in 177 posts
Joined: Oct 2015
Reputation: 5
#6
May 2, 2016, 11:19 AM
(May 2, 2016, 02:41 AM)Soviethooves Wrote: /mug 10k

That don't work. /advert mug 10k

C'mom m8

Inactive asf
The following 1 user Likes Arch.B's post:
  • ZooM
bimkx radio_button_checked
Developer
Developer
Posts: 801
Threads: 47
Likes Given: 839
Likes Recieved: 699 in 294 posts
Joined: Aug 2015
Reputation: 9
#7
May 3, 2016, 07:42 PM
Assuming you're using ULX,
https://forums.ulyssesmod.net/index.php/topic,7871
Gotta sign up to ULX forum to get the DL link then install/execute the code to add command.
The following 1 user Likes bimkx's post:
  • ZooM




Users browsing this thread: 1 Guest(s)