Seite 1 von 2 12 LetzteLetzte
Ergebnis 1 bis 10 von 15

Thema: Anti-Propsurf Script

  1. #1
    Avatar von Bill Gates
    Registriert seit
    16.04.2009
    Ort
    Deutschland

    Standard Anti-Propsurf Script

    Hallo Leute

    Ich bräuchte ein Anti-Propsurf Script
    im Neuen DarkRP ist dies bereits eingebaut aber
    sobald ich es einschalte ist alles nocollided
    d.h Props/Entitys fallen einfach durch die Erde

    Und deswegen wollte ich euch Fragen ob jemand
    soetwas Scripten könnte

    Ich hätte es gerne so das wenn man mit der Physgun
    das Prop anfasst das es Rot wird (oder eine andere Farbe)
    Und wenn man es los lässt das es wieder Normal wird

    Also würde mich freuen wenn jemand
    dies machen könnte

    MfG Bill Gates
    Geändert von Bill Gates (27.08.2009 um 14:57 Uhr)

  2. #2

    Standard AW: Anti-Propsurf Script

    war leichter als ich gedacht hab
    Angehängte Dateien Angehängte Dateien

    awesome thing is made by Araxiel-Sama

  3. #3
    Avatar von Bill Gates
    Registriert seit
    16.04.2009
    Ort
    Deutschland

    Standard AW: Anti-Propsurf Script

    Das Script funktioniert nicht

  4. #4

    Standard AW: Anti-Propsurf Script

    Cool
    bei mir schon

    awesome thing is made by Araxiel-Sama

  5. #5
    Avatar von Bill Gates
    Registriert seit
    16.04.2009
    Ort
    Deutschland

    Standard AW: Anti-Propsurf Script

    Lua Code:
    1. local antipropsurf = CreateConVar("antipropsurf_enable", "1", {FCVAR_REPLICATED, FCVAR_ARCHIVE})
    2. hook.Add("PhysgunPickup", "Anti_Propsurf", function(ply, ent)
    3. 	if !ent.JustPickedUp and antipropsurf:GetFloat() == 1 then
    4. 		ent.JustPickedUp = true
    5. 		ent.AntiPropSurf={
    6. 			phys=ent:GetCollisionGroup(),
    7. 			color=Color(ent:GetColor()),
    8. 		}
    9. 		ent:SetCollisionGroup(COLLISION_GROUP_WEAPON)
    10. 		ent:SetColor(255, 50, 50, 200)
    11. 	end
    12. 	return true
    13. end)
    14.  
    15. hook.Add("PhysgunDrop", "Anti_Propsurf_Drop", function(ply, ent)
    16. 	if ent.JustPickedUp then
    17. 		ent:SetColor(ent.AntiPropSurf.color.r, ent.AntiPropSurf.color.g, ent.AntiPropSurf.color.b, ent.AntiPropSurf.color.a)
    18. 		ent:SetCollisionGroup(ent.AntiPropSurf.collision)
    19. 		ent.JustPickedUp = nil
    20. 	end
    21. end)

    Wie kann es bei dir funktionieren ?

    Kann es vielleicht sein das das DarkRP Anti Propblock das Script von dir das Blockt ?
    oder der Gamemode selbst ?

  6. #6

    Standard AW: Anti-Propsurf Script

    Oh gott ich kenn meinen code
    Was geht denn nicht?

    awesome thing is made by Araxiel-Sama

  7. #7
    Avatar von Bill Gates
    Registriert seit
    16.04.2009
    Ort
    Deutschland

    Standard AW: Anti-Propsurf Script

    nunja ich habe es in lua getan hat nicht gefunkt dann in lua/autorun hat immernoch ned gefunkt
    dann in lua/autorun/client hat auch ned gefunkt dann in lua/autorun/server hat auch ned gefunkt

    Mache ich etwas falsch ?

    Ich stelle mich auf ein Prop kann aber einfach "Surfen"

  8. #8

    Standard AW: Anti-Propsurf Script

    ja /facepalm

    Wirds rot? Oder sonst was?

    awesome thing is made by Araxiel-Sama

  9. #9
    Avatar von Bill Gates
    Registriert seit
    16.04.2009
    Ort
    Deutschland

    Standard AW: Anti-Propsurf Script

    Das soll Propsurfen aber Verhindern
    was es aber nicht tut

    Edit: Es wird ned Rot oder sonstiges

  10. #10

    Standard AW: Anti-Propsurf Script

    Irgendwelche errors in der console?

    Und mach mal antipropsurf_enable 1 :]
    Geändert von WeltEnSTurm (27.08.2009 um 15:43 Uhr)

    awesome thing is made by Araxiel-Sama

Ähnliche Themen

  1. Anti Unfrezze?
    Von gamerpaddy im Forum Hilfe & Support
    Antworten: 3
    Letzter Beitrag: 06.08.2008, 21:48
  2. Anti Gcombat
    Von gamerpaddy im Forum Hilfe & Support
    Antworten: 1
    Letzter Beitrag: 18.07.2008, 20:18
  3. Der Anti-WoW Thread
    Von TK:ONE im Forum Archiv
    Antworten: 27
    Letzter Beitrag: 28.05.2008, 19:09
  4. V9 &0 V10 Anti Delete
    Von gamerpaddy im Forum GMod Allgemein
    Antworten: 4
    Letzter Beitrag: 06.05.2008, 16:08
  5. Team anti Ant guard#v.1
    Von DK skandal im Forum Contraptions
    Antworten: 12
    Letzter Beitrag: 01.02.2006, 20:18

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •