Bill Gates
03.09.2009, 18:03
Hallo
Ihr kennt bestimmt alle die neue Prop Protection von DarkRP
Ich brauche jetzt jemanden der mir die Umschreibt
so das, das Anti Propsurf Script von Weltensturm weiterhin funktioniert
Hier das Anti Propsurf Script:
local antipropsurf = CreateConVar("antipropsurf_enable", "1", {FCVAR_REPLICATED, FCVAR_ARCHIVE})
hook.Add("PhysgunPickup", "nds_antipropsurf", function(ply, ent)
if !ent.JustPickedUp and antipropsurf:GetFloat() == 1 then
ent.JustPickedUp = true
ent.AntiPropSurf={
phys=ent:GetCollisionGroup(),
color=Color(ent:GetColor()),
}
ent:SetCollisionGroup(COLLISION_GROUP_WEAPON)
ent:SetColor(255, 50, 50, 200)
end
return true
end)
hook.Add("PhysgunDrop", "nds_antipropsurf_drop", function(ply, ent)
if ent.JustPickedUp then
ent:SetColor(ent.AntiPropSurf.color.r, ent.AntiPropSurf.color.g, ent.AntiPropSurf.color.b, ent.AntiPropSurf.color.a)
ent:SetCollisionGroup(ent.AntiPropSurf.collision)
ent.JustPickedUp = nil
end
end)
local antipropsurf = CreateConVar("antipropsurf_enable", "1", {FCVAR_REPLICATED, FCVAR_ARCHIVE})
hook.Add("GravGunPickup", "nds_antipropsurfing", function(ply, ent)
if !ent.JustPickedUp and antipropsurf:GetFloat() == 1 then
ent.JustPickedUp = true
ent.AntiPropSurf={
phys=ent:GetCollisionGroup(),
color=Color(ent:GetColor()),
}
ent:SetCollisionGroup(COLLISION_GROUP_WEAPON)
ent:SetColor(255, 50, 50, 200)
end
return true
end)
hook.Add("GravGunDrop", "nds_antipropsurf_droping", function(ply, ent)
if ent.JustPickedUp then
ent:SetColor(ent.AntiPropSurf.color.r, ent.AntiPropSurf.color.g, ent.AntiPropSurf.color.b, ent.AntiPropSurf.color.a)
ent:SetCollisionGroup(ent.AntiPropSurf.collision)
ent.JustPickedUp = nil
end
end)
Hier die FPP:
http://www.file-upload.net/download-1865697/FPP.rar.html
Als Gegenleistung bekommt ihr
Auf meinem RP Server
Toolgun/Physgun und CP und Mayor Rechte
ServerIP: 93.186.200.123:27015
Aber nur wenn ihr es hinbekommt
das, das Anti Propsurf Script weiterhin funktioniert
Bye euer Bill Gates
Ihr kennt bestimmt alle die neue Prop Protection von DarkRP
Ich brauche jetzt jemanden der mir die Umschreibt
so das, das Anti Propsurf Script von Weltensturm weiterhin funktioniert
Hier das Anti Propsurf Script:
local antipropsurf = CreateConVar("antipropsurf_enable", "1", {FCVAR_REPLICATED, FCVAR_ARCHIVE})
hook.Add("PhysgunPickup", "nds_antipropsurf", function(ply, ent)
if !ent.JustPickedUp and antipropsurf:GetFloat() == 1 then
ent.JustPickedUp = true
ent.AntiPropSurf={
phys=ent:GetCollisionGroup(),
color=Color(ent:GetColor()),
}
ent:SetCollisionGroup(COLLISION_GROUP_WEAPON)
ent:SetColor(255, 50, 50, 200)
end
return true
end)
hook.Add("PhysgunDrop", "nds_antipropsurf_drop", function(ply, ent)
if ent.JustPickedUp then
ent:SetColor(ent.AntiPropSurf.color.r, ent.AntiPropSurf.color.g, ent.AntiPropSurf.color.b, ent.AntiPropSurf.color.a)
ent:SetCollisionGroup(ent.AntiPropSurf.collision)
ent.JustPickedUp = nil
end
end)
local antipropsurf = CreateConVar("antipropsurf_enable", "1", {FCVAR_REPLICATED, FCVAR_ARCHIVE})
hook.Add("GravGunPickup", "nds_antipropsurfing", function(ply, ent)
if !ent.JustPickedUp and antipropsurf:GetFloat() == 1 then
ent.JustPickedUp = true
ent.AntiPropSurf={
phys=ent:GetCollisionGroup(),
color=Color(ent:GetColor()),
}
ent:SetCollisionGroup(COLLISION_GROUP_WEAPON)
ent:SetColor(255, 50, 50, 200)
end
return true
end)
hook.Add("GravGunDrop", "nds_antipropsurf_droping", function(ply, ent)
if ent.JustPickedUp then
ent:SetColor(ent.AntiPropSurf.color.r, ent.AntiPropSurf.color.g, ent.AntiPropSurf.color.b, ent.AntiPropSurf.color.a)
ent:SetCollisionGroup(ent.AntiPropSurf.collision)
ent.JustPickedUp = nil
end
end)
Hier die FPP:
http://www.file-upload.net/download-1865697/FPP.rar.html
Als Gegenleistung bekommt ihr
Auf meinem RP Server
Toolgun/Physgun und CP und Mayor Rechte
ServerIP: 93.186.200.123:27015
Aber nur wenn ihr es hinbekommt
das, das Anti Propsurf Script weiterhin funktioniert
Bye euer Bill Gates