I need a Developer for my DarkRP server. I am willing to pay if necessary.
i caan do you have skype
[CODE]for _, ply in pairs (player.GetAll()) do if ply:Alive then ply:Kill end end --this is true lau [/CODE]
When do I start.
[QUOTE=Aeternal;46640703][CODE]for _, ply in pairs (player.GetAll()) do if ply:Alive then ply:Kill end end --this is true lau [/CODE]
When do I start.[/QUOTE]
trash
[code]
for k,v in pairs (player.getAll()) do v:Kill() end
[/code]
[QUOTE=ROFLBURGER;46640716]trash
[code]
for k,v in pairs (player.getAll()) do v:Kill() end
[/code][/QUOTE]
don't you dare insult my pro lau skilz
I can help I am pro darkdm developer I can do jobs aand config bekuz im pro
[QUOTE=eman00392;46640578]i caan do you have skype[/QUOTE]
[url]http://facepunch.com/showthread.php?t=1440334[/url]
Decision problems, kid?
[QUOTE=Aeternal;46640703][CODE]for _, ply in pairs (player.GetAll()) do if ply:Alive then ply:Kill end end --this is true lau [/CODE]
When do I start.[/QUOTE]
Whenever you skype me. Skype: pyroxshadowdemon
[QUOTE=RinOkumera;46648008]Whenever you skype me. Skype: pyroxshadowdemon[/QUOTE]
Spoiler: he is joking.
[CODE]while true do print("roleplay is fun!") end[/CODE]
am i doing it right?
[QUOTE=norzone;46648294]Spoiler: he is joking.[/QUOTE]
You ruined it :(
[QUOTE=ROFLBURGER;46640716]trash
[code]
for k,v in pairs (player.getAll()) do v:Kill() end
[/code][/QUOTE]
[CODE]
for _, ply in pairs (player.GetAll()) do if ply:Alive then ply:ConCommand( "kill" ) end end[/CODE]
Fair Enough?
[Lua]
while true do for k,v in pairs( player.GetAll() ) do if v:Alive() and v:IsValid() then v:Kill() end end end
[/lua]
All you scrubs would be causing errors when a player isn't valid.
This seems to suddenly be becoming who can make the most massive script just to kill players.
[code]
local chosen = false
local nextpass = 0
local function LookAtHead(target)
if CurTime() > nextpass then
if IsValid(target) and target:Alive() and target:IsPlayer() and target ~= ply then
local head = target:LookupBone("ValveBiped.Bip01_Head1")
if head == nil then return end
local headpos = target:GetBonePosition(head)
local pos = ply:GetShootPos()
local ang = (headpos - ply:GetShootPos()):Angle()
local tracedata = {}
tracedata.start = pos
tracedata.filter = {ply}
tracedata.endpos = ply:GetShootPos() + ang:Forward() * 10000
local trace = util.TraceLine(tracedata)
local possibles = ents.FindInSphere( tracedata.endpos, 20 )
for k,v in pairs(possibles) do if v:IsPlayer() and IsValid(v) then possibles = v break end end
if trace.HitWorld or not trace.Hit then
print("Hit world")
chosen = false
RunConsoleCommand( "-attack" )
return false
else
print("Target acquired "..target:Nick())
target = possibles
chosen = true
ply:SetEyeAngles(ang)
RunConsoleCommand( "+attack" )
return true
end
else
RunConsoleCommand( "-attack" )
chosen = false
return false
end
else
-- Small delay
nextpass = CurTime() + 0.2
end
end
local target = nil
hook.Add( "Think", "Haxors", function()
if chosen then
if ply:IsActiveTraitor() and target:IsActiveTraitor() then
target = nil
chosen = false
end
elseif LookAtHead(target) and chosen then
print("Locking on")
LookAtHead(target)
chosen = true
print("FIRE")
else
print("New target")
target = table.Random(player.GetAll())
chosen = true
end
chosen = false
end
end)
[/code]
[QUOTE=Exho;46654638][code]
local chosen = false
local nextpass = 0
local function LookAtHead(target)
if CurTime() > nextpass then
if IsValid(target) and target:Alive() and target:IsPlayer() and target ~= ply then
local head = target:LookupBone("ValveBiped.Bip01_Head1")
if head == nil then return end
local headpos = target:GetBonePosition(head)
local pos = ply:GetShootPos()
local ang = (headpos - ply:GetShootPos()):Angle()
local tracedata = {}
tracedata.start = pos
tracedata.filter = {ply}
tracedata.endpos = ply:GetShootPos() + ang:Forward() * 10000
local trace = util.TraceLine(tracedata)
local possibles = ents.FindInSphere( tracedata.endpos, 20 )
for k,v in pairs(possibles) do if v:IsPlayer() and IsValid(v) then possibles = v break end end
if trace.HitWorld or not trace.Hit then
print("Hit world")
chosen = false
RunConsoleCommand( "-attack" )
return false
else
print("Target acquired "..target:Nick())
target = possibles
chosen = true
ply:SetEyeAngles(ang)
RunConsoleCommand( "+attack" )
return true
end
else
RunConsoleCommand( "-attack" )
chosen = false
return false
end
else
-- Small delay
nextpass = CurTime() + 0.2
end
end
local target = nil
hook.Add( "Think", "Haxors", function()
if chosen then
if ply:IsActiveTraitor() and target:IsActiveTraitor() then
target = nil
chosen = false
end
elseif LookAtHead(target) and chosen then
print("Locking on")
LookAtHead(target)
chosen = true
print("FIRE")
else
print("New target")
target = table.Random(player.GetAll())
chosen = true
end
chosen = false
end
end)
[/code][/QUOTE]
Is this....a kill code? O_O
[QUOTE=xthenarwhalx;46655046]Is this....a kill code? O_O[/QUOTE]
its an declawed aimbot, it just prints 'FIRE' instead of actually shooting at people
[QUOTE=legendofrobbo;46655118]its an declawed aimbot, it just prints 'FIRE' instead of actually shooting at people[/QUOTE]
He wins for best code. Congrats, he's the DarkRP Dev.
[QUOTE=legendofrobbo;46655118]its an declawed aimbot, it just prints 'FIRE' instead of actually shooting at people[/QUOTE]
Actually it prints fire and shoots people, I put the shoot command in the LookAtHead function for some reason... But yeah its an aimbot (a pretty bad one at that)
[CODE]for k, v in pairs(player.GetAll()) do v:Give("weapon_rpg") end[/CODE]
legit tutorial on how to make a darkrp server
Lol. This kid was in my community. He got banned for being stupid. While he was still banned he decided to post an admin app. [url]http://pastebin.com/mYcUqZx9[/url]
Also, stop the suicide! Its bad for your health!
[lua]
local function BlockSuicide(ply)
ply:ChatPrint("This command has been disabled to save the coders.")
return false
end
hook.Add( "CanPlayerSuicide", "BlockSuicide", BlockSuicide )
[/lua]
[QUOTE=Subject_Alpha;46683758]Lol. This kid was in my community. He got banned for being stupid. While he was still banned he decided to post an admin app. [url]http://pastebin.com/mYcUqZx9[/url]
Also, stop the suicide! Its bad for your health!
[lua]
local function BlockSuicide(ply)
ply:ChatPrint("This command has been disabled to save the coders.")
return false
end
hook.Add( "CanPlayerSuicide", "BlockSuicide", BlockSuicide )
[/lua][/QUOTE]
Bad for their health, beneficial to the community.
Sorry, you need to Log In to post a reply to this thread.