[Release] Clé

Yoh Sambre ♪

Yoh Sambre ♪

Shaman Fou
Messages
16 285
Score réaction
9 687
Points
1 845
Joe Leroi à dit:
Ce n'est pas du tout un DRM, je ne souhaite pas en mettre, même si j'en possède, je le réserve uniquement pour mon propre serveur, donc mes propres scripts qui seront exclusif....

J'ai juste dit dans le fichier que si dans le fichier config l'auteur n'était pas "....." alors sa afficherais cela...
Tu modifie 5 lignes et sa disparait, mais c'est juste pour les fondateurs kikoo qui s'y connaissent pas...
go obfuscation 4Head
 
  • Initiateur de la discussion
Joe Leroi

Joe Leroi

Chuck Norris
Messages
4 368
Score réaction
933
Points
605
Yoh Sambre ♪ à dit:
go obfuscation 4Head
Chut c'est ce que je suis entrain de faire en supplément sur mes ajouts.
 
Wabel

Wabel

Je ne sais pas quoi mettre
Messages
2 262
Score réaction
707
Points
330
Joe Leroi à dit:
Ce n'est pas du tout un DRM, je ne souhaite pas en mettre, même si j'en possède, je le réserve uniquement pour mon propre serveur, donc mes propres scripts qui seront exclusif....

J'ai juste dit dans le fichier que si dans le fichier config l'auteur n'était pas "....." alors sa afficherais cela...
Tu modifie 5 lignes et sa disparait, mais c'est juste pour les fondateurs kikoo qui s'y connaissent pas...
Dans ce cas autant faire un système complet de DRM ou si l'auteur n'est pas bon l'addon marche carrêment pas (tu met le côté server sur ton site)
 
  • Initiateur de la discussion
Joe Leroi

Joe Leroi

Chuck Norris
Messages
4 368
Score réaction
933
Points
605
WabelGame à dit:
Dans ce cas autant faire un système complet de DRM ou si l'auteur n'est pas bon l'addon marche carrêment pas (tu met le côté server sur ton site)
Nop comme c'est un script de merde je vais juste faire de l'obfuscation dessus.
 
O Lucian

O Lucian

Geek
Messages
215
Score réaction
58
Points
70
Au pire tu fait en sorte dès qu'il ouvre le fichier lua , ta une missile nucléaire qui se lance depuis une base militaire russe et qui va droit sur la position du mec qui l'a ouvert
 
  • J'aime
Réactions: Falaxir, Makss et Wabel
Wabel

Wabel

Je ne sais pas quoi mettre
Messages
2 262
Score réaction
707
Points
330
Joe Leroi à dit:
Nop comme c'est un script de merde je vais juste faire de l'obfuscation dessus.
Ah ui quand même xD
 
  • Initiateur de la discussion
Joe Leroi

Joe Leroi

Chuck Norris
Messages
4 368
Score réaction
933
Points
605
O Lucian à dit:
Au pire tu fait en sorte dès qu'il ouvre le fichier lua , ta une missile nucléaire qui se lance depuis une base militaire russe et qui va droit sur la position du mec qui l'a ouvert
Aussi, mais bon faudrait l'accord des russes
 
  • J'aime
Réactions: Wabel
O Lucian

O Lucian

Geek
Messages
215
Score réaction
58
Points
70
  • Initiateur de la discussion
Joe Leroi

Joe Leroi

Chuck Norris
Messages
4 368
Score réaction
933
Points
605
C'est peut être pas puissant, mais sa découragera quelques personne sûremment :
Code:
local
_={_="Secondary",a="Entity",b="RoundedBox"}AddCSLuaFile()if
SERVER
then
AddCSLuaFile"shared.lua"end
if
CLIENT
then
SWEP.PrintName="Clé"SWEP.Slot=2
SWEP.SlotPos=1
SWEP.DrawAmmo=!1
SWEP.DrawCrosshair=!1
SWEP.HoldType="pistol"end
SWEP.Author=Auteur
SWEP.Instructions="Clique droit pour ouvrir la porte / clique gauche pour fermer la porte"SWEP.Category="Joe's Scripts"SWEP.Contact=""SWEP.Purpose=""SWEP.Spawnable=!!1
SWEP.AdminSpawnable=!!1
SWEP.ViewModelFOV=70
SWEP.ViewModelFlip=!1
SWEP.ViewModel="models/weapons/c_arms_dod.mdl"SWEP.WorldModel="models/weapons/w_pistol.mdl"SWEP.ShowViewModel=!!1
SWEP.ShowWorldModel=!1
SWEP.UseHands=!1
SWEP.ViewModelBoneMods={["ValveBiped.Bip01_Spine4"]={scale=Vector(1,1,1),pos=Vector(-12,-8.334,-18),angle=Angle(110,90,0)},["ValveBiped.Bip01_R_Finger1"]={scale=Vector(1,1,1),pos=Vector(0,0,0),angle=Angle(0,0,0)},["ValveBiped.Bip01_R_Finger11"]={scale=Vector(1,1,1),pos=Vector(0,0,0),angle=Angle(0,0,0)},["ValveBiped.Bip01_R_Finger02"]={scale=Vector(1,1,1),pos=Vector(0,0,0),angle=Angle(-10,10,-15)},["ValveBiped.Bip01_R_Finger01"]={scale=Vector(1,1,1),pos=Vector(0,0,0),angle=Angle(-10,10,-15)},["ValveBiped.Bip01_R_Finger12"]={scale=Vector(1,1,1),pos=Vector(0,0,0),angle=Angle(0,0,0)},["models/tglcles/tglcles.mdl"]={scale=Vector(1,1,1),pos=Vector(4,2,2.5),angle=Angle(-180,50,-35)},["ValveBiped.Bip01_R_Finger0"]={scale=Vector(1,0.8,0.8),pos=Vector(0,0,0),angle=Angle(-10,0,-15)}}SWEP.VElements={["PROP"]={type="Model",model="models/joe_and_enzofr60_cles/joe_and_enzofr60_cles.mdl",bone="ValveBiped.Bip01_R_Hand",rel="",pos=Vector(2.5,3.45,-3.0),angle=Angle(-165,-30,-15),size=Vector(0.50,0.50,0.50),color=Color(255,255,255,255),surpresslightning=!1,material="",skin=0,bodygroup={}}}SWEP.WElements={["PROPP"]={type="Model",model="models/joe_and_enzofr60_cles/joe_and_enzofr60_cles.mdl",bone="ValveBiped.Bip01_R_Hand",rel="",pos=Vector(2.5,3.45,-2.5),angle=Angle(-165,-30,-15),size=Vector(0.45,0.45,0.45),color=Color(255,255,255,255),surpresslightning=!1,material="",skin=0,bodygroup={}}}SWEP.HoldType="pistol"SWEP.Primary.ClipSize=-1
SWEP.Primary.DefaultClip=-1
SWEP.Primary.Automatic=!!1
SWEP.Primary.Ammo="none"SWEP[_._].ClipSize=-1
SWEP[_._].DefaultClip=-1
SWEP[_._].Automatic=!1
SWEP[_._].Ammo="none"function
SWEP:Initialize()self:SetWeaponHoldType"pistol"end
local
function
a(a,b)local
c=a:EyePos()return
IsValid(b)&&b:isKeysOwnable()&&(b:isDoor()&&c:DistToSqr(b:GetPos())<5000||b:IsVehicle()&&c:DistToSqr(b:NearestPoint(c))<1000000)end
local
function
d(a,d)a:EmitSound("npc/metropolice/gear"..math.floor(math.Rand(1,7))..".wav")local
d=RecipientFilter()d:AddAllPlayers()umsg.Start("anim_keys",d)umsg[_.a](a)umsg.String"usekeys"umsg.End()a:AnimRestartGesture(GESTURE_SLOT_ATTACK_AND_RELOAD,ACT_GMOD_GESTURE_ITEM_PLACE,!!1)end
local
function
e(a,d)a:EmitSound"carkeys/lock.wav"timer.Simple(0.5,function()a:EmitSound("npc/metropolice/gear"..math.floor(math.Rand(1,7))..".wav")end)end
local
function
f(a,d)a:EmitSound(d,100,math.random(90,110))umsg.Start"anim_keys"umsg[_.a](a)umsg.String"knocking"umsg.End()a:AnimRestartGesture(GESTURE_SLOT_ATTACK_AND_RELOAD,ACT_HL2MP_GESTURE_RANGE_ATTACK_FIST,!!1)end
function
SWEP:Reload()local
a=self:GetOwner():GetEyeTrace()if!IsValid(a[_.a])||(IsValid(a[_.a])&&((!a[_.a]:isDoor()&&!a[_.a]:IsVehicle())||self.Owner:EyePos():DistToSqr(a.HitPos)>40000))then
if
CLIENT&&!DarkRP.disabledDefaults["modules"]["animations"]then
RunConsoleCommand"_DarkRP_AnimationMenu"end
return
end
if
SERVER
then
umsg.Start("KeysMenu",self:GetOwner())umsg.End()end
end
function
SWEP:PrimaryAttack()local
g,h=self:GetOwner():GetEyeTrace(),self.Owner
if
Auteur=="Joe Leroi & enzoFR60"then
if!a(self:GetOwner(),g[_.a])then
return
end
self:SetNextPrimaryFire(CurTime()+2)if
CLIENT
then
return
end
if
self:GetOwner():canKeysLock(g[_.a])then
g[_.a]:keysLock()if
g[_.a]:isDoor()then
d(self:GetOwner(),self.Sound)h:SendLua[[ chat.AddText( Color( 0, 180, 255 ), "(Joe's Keys) ", Color( 255, 255, 255 ), verporte ) ]]else
e(self:GetOwner(),self.Sound)h:SendLua[[ chat.AddText( Color( 0, 180, 255 ), "(Joe's Keys) ", Color( 255, 255, 255 ), vervoiture ) ]]h:SetNWString("Unlockdo","No")end
elseif
g[_.a]:IsVehicle()then
DarkRP.notify(self:GetOwner(),1,3,"Vous ne possédez pas ce véhicule !")else
f(self:GetOwner(),"physics/wood/wood_crate_impact_hard2.wav")end
end
end
function
SWEP:SecondaryAttack()local
i,j=self:GetOwner():GetEyeTrace(),self.Owner
if!a(self:GetOwner(),i[_.a])then
return
end
self:SetNextSecondaryFire(CurTime()+2)if
CLIENT
then
return
end
if
Auteur=="Joe Leroi & enzoFR60"then
if
self:GetOwner():canKeysUnlock(i[_.a])then
i[_.a]:keysUnLock()if
i[_.a]:isDoor()then
d(self:GetOwner(),self.Sound)j:SendLua[[ chat.AddText( Color( 0, 180, 255 ), "(Joe's Keys) ", Color( 255, 255, 255 ), devporte ) ]]else
e(self:GetOwner(),self.Sound)j:SendLua[[ chat.AddText( Color( 0, 180, 255 ), "(Joe's Keys) ", Color( 255, 255, 255 ), devvoiture ) ]]j:SetNWString("Unlockdo","Yes")end
elseif
i[_.a]:IsVehicle()then
DarkRP.notify(self:GetOwner(),1,3,"Vous ne possédez pas ce véhicule !")else
f(self:GetOwner(),"physics/wood/wood_crate_impact_hard3.wav")end
end
end
function
SWEP:DrawHUD()local
a,d=self:GetOwner():GetEyeTrace(),self.Owner
local
e=d:EyePos()if
InterfaceV=="Oui"then
if
Auteur=="Joe Leroi & enzoFR60"then
if
d:InVehicle()then
return
end
if
a[_.a]:IsVehicle()&&e:DistToSqr(a[_.a]:NearestPoint(e))<1000000
then
if
d:GetNWString"Unlockdo"=="Yes"then
draw[_.b](0,ScrW()/2.35,ScrH()/2,190,35,Color(40,40,40,255))draw.DrawText("Véhicule déverrouillé","Trebuchet24",ScrW()/2,ScrH()/2+2,Color(255,255,255),TEXT_ALIGN_CENTER)elseif
d:GetNWString"Unlockdo"=="No"then
draw[_.b](0,ScrW()/2.35,ScrH()/2,190,35,Color(40,40,40,255))draw.DrawText("Véhicule verrouillé","Trebuchet24",ScrW()/2,ScrH()/2+2,Color(255,255,255),TEXT_ALIGN_CENTER)end
end
end
end
if
Auteur=="Joe Leroi & enzoFR60"then
else
draw[_.b](0,0,0,ScrW()/1,ScrH()/1,Color(40,40,40,255))draw.DrawText("Script inutilisable : \nMerci de remettre en Auteur 'Joe Leroi & enzoFR60' dans le cas contraire le scripts sera inutilisable\nMerci de ne pas toucher également au lien de la version !","Trebuchet24",ScrW()/2,ScrH()/2+2,Color(255,255,255),TEXT_ALIGN_CENTER)end
end
 
Yoh Sambre ♪

Yoh Sambre ♪

Shaman Fou
Messages
16 285
Score réaction
9 687
Points
1 845
Joe Leroi à dit:
C'est peut être pas puissant, mais sa découragera quelques personne sûremment :
Code:
local
_={_="Secondary",a="Entity",b="RoundedBox"}AddCSLuaFile()if
SERVER
then
AddCSLuaFile"shared.lua"end
if
CLIENT
then
SWEP.PrintName="Clé"SWEP.Slot=2
SWEP.SlotPos=1
SWEP.DrawAmmo=!1
SWEP.DrawCrosshair=!1
SWEP.HoldType="pistol"end
SWEP.Author=Auteur
SWEP.Instructions="Clique droit pour ouvrir la porte / clique gauche pour fermer la porte"SWEP.Category="Joe's Scripts"SWEP.Contact=""SWEP.Purpose=""SWEP.Spawnable=!!1
SWEP.AdminSpawnable=!!1
SWEP.ViewModelFOV=70
SWEP.ViewModelFlip=!1
SWEP.ViewModel="models/weapons/c_arms_dod.mdl"SWEP.WorldModel="models/weapons/w_pistol.mdl"SWEP.ShowViewModel=!!1
SWEP.ShowWorldModel=!1
SWEP.UseHands=!1
SWEP.ViewModelBoneMods={["ValveBiped.Bip01_Spine4"]={scale=Vector(1,1,1),pos=Vector(-12,-8.334,-18),angle=Angle(110,90,0)},["ValveBiped.Bip01_R_Finger1"]={scale=Vector(1,1,1),pos=Vector(0,0,0),angle=Angle(0,0,0)},["ValveBiped.Bip01_R_Finger11"]={scale=Vector(1,1,1),pos=Vector(0,0,0),angle=Angle(0,0,0)},["ValveBiped.Bip01_R_Finger02"]={scale=Vector(1,1,1),pos=Vector(0,0,0),angle=Angle(-10,10,-15)},["ValveBiped.Bip01_R_Finger01"]={scale=Vector(1,1,1),pos=Vector(0,0,0),angle=Angle(-10,10,-15)},["ValveBiped.Bip01_R_Finger12"]={scale=Vector(1,1,1),pos=Vector(0,0,0),angle=Angle(0,0,0)},["models/tglcles/tglcles.mdl"]={scale=Vector(1,1,1),pos=Vector(4,2,2.5),angle=Angle(-180,50,-35)},["ValveBiped.Bip01_R_Finger0"]={scale=Vector(1,0.8,0.8),pos=Vector(0,0,0),angle=Angle(-10,0,-15)}}SWEP.VElements={["PROP"]={type="Model",model="models/joe_and_enzofr60_cles/joe_and_enzofr60_cles.mdl",bone="ValveBiped.Bip01_R_Hand",rel="",pos=Vector(2.5,3.45,-3.0),angle=Angle(-165,-30,-15),size=Vector(0.50,0.50,0.50),color=Color(255,255,255,255),surpresslightning=!1,material="",skin=0,bodygroup={}}}SWEP.WElements={["PROPP"]={type="Model",model="models/joe_and_enzofr60_cles/joe_and_enzofr60_cles.mdl",bone="ValveBiped.Bip01_R_Hand",rel="",pos=Vector(2.5,3.45,-2.5),angle=Angle(-165,-30,-15),size=Vector(0.45,0.45,0.45),color=Color(255,255,255,255),surpresslightning=!1,material="",skin=0,bodygroup={}}}SWEP.HoldType="pistol"SWEP.Primary.ClipSize=-1
SWEP.Primary.DefaultClip=-1
SWEP.Primary.Automatic=!!1
SWEP.Primary.Ammo="none"SWEP[_._].ClipSize=-1
SWEP[_._].DefaultClip=-1
SWEP[_._].Automatic=!1
SWEP[_._].Ammo="none"function
SWEP:Initialize()self:SetWeaponHoldType"pistol"end
local
function
a(a,b)local
c=a:EyePos()return
IsValid(b)&&b:isKeysOwnable()&&(b:isDoor()&&c:DistToSqr(b:GetPos())<5000||b:IsVehicle()&&c:DistToSqr(b:NearestPoint(c))<1000000)end
local
function
d(a,d)a:EmitSound("npc/metropolice/gear"..math.floor(math.Rand(1,7))..".wav")local
d=RecipientFilter()d:AddAllPlayers()umsg.Start("anim_keys",d)umsg[_.a](a)umsg.String"usekeys"umsg.End()a:AnimRestartGesture(GESTURE_SLOT_ATTACK_AND_RELOAD,ACT_GMOD_GESTURE_ITEM_PLACE,!!1)end
local
function
e(a,d)a:EmitSound"carkeys/lock.wav"timer.Simple(0.5,function()a:EmitSound("npc/metropolice/gear"..math.floor(math.Rand(1,7))..".wav")end)end
local
function
f(a,d)a:EmitSound(d,100,math.random(90,110))umsg.Start"anim_keys"umsg[_.a](a)umsg.String"knocking"umsg.End()a:AnimRestartGesture(GESTURE_SLOT_ATTACK_AND_RELOAD,ACT_HL2MP_GESTURE_RANGE_ATTACK_FIST,!!1)end
function
SWEP:Reload()local
a=self:GetOwner():GetEyeTrace()if!IsValid(a[_.a])||(IsValid(a[_.a])&&((!a[_.a]:isDoor()&&!a[_.a]:IsVehicle())||self.Owner:EyePos():DistToSqr(a.HitPos)>40000))then
if
CLIENT&&!DarkRP.disabledDefaults["modules"]["animations"]then
RunConsoleCommand"_DarkRP_AnimationMenu"end
return
end
if
SERVER
then
umsg.Start("KeysMenu",self:GetOwner())umsg.End()end
end
function
SWEP:PrimaryAttack()local
g,h=self:GetOwner():GetEyeTrace(),self.Owner
if
Auteur=="Joe Leroi & enzoFR60"then
if!a(self:GetOwner(),g[_.a])then
return
end
self:SetNextPrimaryFire(CurTime()+2)if
CLIENT
then
return
end
if
self:GetOwner():canKeysLock(g[_.a])then
g[_.a]:keysLock()if
g[_.a]:isDoor()then
d(self:GetOwner(),self.Sound)h:SendLua[[ chat.AddText( Color( 0, 180, 255 ), "(Joe's Keys) ", Color( 255, 255, 255 ), verporte ) ]]else
e(self:GetOwner(),self.Sound)h:SendLua[[ chat.AddText( Color( 0, 180, 255 ), "(Joe's Keys) ", Color( 255, 255, 255 ), vervoiture ) ]]h:SetNWString("Unlockdo","No")end
elseif
g[_.a]:IsVehicle()then
DarkRP.notify(self:GetOwner(),1,3,"Vous ne possédez pas ce véhicule !")else
f(self:GetOwner(),"physics/wood/wood_crate_impact_hard2.wav")end
end
end
function
SWEP:SecondaryAttack()local
i,j=self:GetOwner():GetEyeTrace(),self.Owner
if!a(self:GetOwner(),i[_.a])then
return
end
self:SetNextSecondaryFire(CurTime()+2)if
CLIENT
then
return
end
if
Auteur=="Joe Leroi & enzoFR60"then
if
self:GetOwner():canKeysUnlock(i[_.a])then
i[_.a]:keysUnLock()if
i[_.a]:isDoor()then
d(self:GetOwner(),self.Sound)j:SendLua[[ chat.AddText( Color( 0, 180, 255 ), "(Joe's Keys) ", Color( 255, 255, 255 ), devporte ) ]]else
e(self:GetOwner(),self.Sound)j:SendLua[[ chat.AddText( Color( 0, 180, 255 ), "(Joe's Keys) ", Color( 255, 255, 255 ), devvoiture ) ]]j:SetNWString("Unlockdo","Yes")end
elseif
i[_.a]:IsVehicle()then
DarkRP.notify(self:GetOwner(),1,3,"Vous ne possédez pas ce véhicule !")else
f(self:GetOwner(),"physics/wood/wood_crate_impact_hard3.wav")end
end
end
function
SWEP:DrawHUD()local
a,d=self:GetOwner():GetEyeTrace(),self.Owner
local
e=d:EyePos()if
InterfaceV=="Oui"then
if
Auteur=="Joe Leroi & enzoFR60"then
if
d:InVehicle()then
return
end
if
a[_.a]:IsVehicle()&&e:DistToSqr(a[_.a]:NearestPoint(e))<1000000
then
if
d:GetNWString"Unlockdo"=="Yes"then
draw[_.b](0,ScrW()/2.35,ScrH()/2,190,35,Color(40,40,40,255))draw.DrawText("Véhicule déverrouillé","Trebuchet24",ScrW()/2,ScrH()/2+2,Color(255,255,255),TEXT_ALIGN_CENTER)elseif
d:GetNWString"Unlockdo"=="No"then
draw[_.b](0,ScrW()/2.35,ScrH()/2,190,35,Color(40,40,40,255))draw.DrawText("Véhicule verrouillé","Trebuchet24",ScrW()/2,ScrH()/2+2,Color(255,255,255),TEXT_ALIGN_CENTER)end
end
end
end
if
Auteur=="Joe Leroi & enzoFR60"then
else
draw[_.b](0,0,0,ScrW()/1,ScrH()/1,Color(40,40,40,255))draw.DrawText("Script inutilisable : \nMerci de remettre en Auteur 'Joe Leroi & enzoFR60' dans le cas contraire le scripts sera inutilisable\nMerci de ne pas toucher également au lien de la version !","Trebuchet24",ScrW()/2,ScrH()/2+2,Color(255,255,255),TEXT_ALIGN_CENTER)end
end
lol

Code:
local_={_="\x53\x65\x63\x6f\x6e\x64\x61\x72\x79",a="\x45\x6e\x74\x69\x74\x79",b="\x52\x6f\x75\x6e\x64\x65\x64\x42\x6f\x78"}AddCSLuaFile()ifSERVERthenAddCSLuaFile"\x73\x68\x61\x72\x65\x64\x2e\x6c\x75\x61"endifCLIENTthenSWEP.PrintName="\x43\x6c\xe9"SWEP.Slot=2SWEP.SlotPos=1SWEP.DrawAmmo=!1SWEP.DrawCrosshair=!1SWEP.HoldType="\x70\x69\x73\x74\x6f\x6c"endSWEP.Author=AuteurSWEP.Instructions="\x43\x6c\x69\x71\x75\x65\x20\x64\x72\x6f\x69\x74\x20\x70\x6f\x75\x72\x20\x6f\x75\x76\x72\x69\x72\x20\x6c\x61\x20\x70\x6f\x72\x74\x65\x20\x2f\x20\x63\x6c\x69\x71\x75\x65\x20\x67\x61\x75\x63\x68\x65\x20\x70\x6f\x75\x72\x20\x66\x65\x72\x6d\x65\x72\x20\x6c\x61\x20\x70\x6f\x72\x74\x65"SWEP.Category="\x4a\x6f\x65\x27\x73\x20\x53\x63\x72\x69\x70\x74\x73"SWEP.Contact=""SWEP.Purpose=""SWEP.Spawnable=!!1SWEP.AdminSpawnable=!!1SWEP.ViewModelFOV=70SWEP.ViewModelFlip=!1SWEP.ViewModel="\x6d\x6f\x64\x65\x6c\x73\x2f\x77\x65\x61\x70\x6f\x6e\x73\x2f\x63\x5f\x61\x72\x6d\x73\x5f\x64\x6f\x64\x2e\x6d\x64\x6c"SWEP.WorldModel="\x6d\x6f\x64\x65\x6c\x73\x2f\x77\x65\x61\x70\x6f\x6e\x73\x2f\x77\x5f\x70\x69\x73\x74\x6f\x6c\x2e\x6d\x64\x6c"SWEP.ShowViewModel=!!1SWEP.ShowWorldModel=!1SWEP.UseHands=!1SWEP.ViewModelBoneMods={["\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x53\x70\x69\x6e\x65\x34"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72"](1,1,1),pos=getfenv()["\x56\x65\x63\x74\x6f\x72\x28\x2d\x31\x32\x2c\x2d\x38"]["\x33\x33\x34\x2c\x2d\x31\x38\x29"](-12,-8.334,-18),angle=getfenv()["\x41\x6e\x67\x6c\x65"](110,90,0)},["\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x46\x69\x6e\x67\x65\x72\x31"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72"](1,1,1),pos=getfenv()["\x56\x65\x63\x74\x6f\x72"](0,0,0),angle=getfenv()["\x41\x6e\x67\x6c\x65"](0,0,0)},["\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x46\x69\x6e\x67\x65\x72\x31\x31"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72"](1,1,1),pos=getfenv()["\x56\x65\x63\x74\x6f\x72"](0,0,0),angle=getfenv()["\x41\x6e\x67\x6c\x65"](0,0,0)},["\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x46\x69\x6e\x67\x65\x72\x30\x32"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72"](1,1,1),pos=getfenv()["\x56\x65\x63\x74\x6f\x72"](0,0,0),angle=getfenv()["\x41\x6e\x67\x6c\x65"](-10,10,-15)},["\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x46\x69\x6e\x67\x65\x72\x30\x31"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72"](1,1,1),pos=getfenv()["\x56\x65\x63\x74\x6f\x72"](0,0,0),angle=getfenv()["\x41\x6e\x67\x6c\x65"](-10,10,-15)},["\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x46\x69\x6e\x67\x65\x72\x31\x32"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72"](1,1,1),pos=getfenv()["\x56\x65\x63\x74\x6f\x72"](0,0,0),angle=getfenv()["\x41\x6e\x67\x6c\x65"](0,0,0)},["\x6d\x6f\x64\x65\x6c\x73\x2f\x74\x67\x6c\x63\x6c\x65\x73\x2f\x74\x67\x6c\x63\x6c\x65\x73\x2e\x6d\x64\x6c"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72"](1,1,1),pos=getfenv()["\x56\x65\x63\x74\x6f\x72\x28\x34\x2c\x32\x2c\x32"]["\x35\x29"](4,2,2.5),angle=getfenv()["\x41\x6e\x67\x6c\x65"](-180,50,-35)},["\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x46\x69\x6e\x67\x65\x72\x30"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72\x28\x31\x2c\x30"]["\x38\x2c\x30"](1,0.8,0.8),pos=getfenv()["\x56\x65\x63\x74\x6f\x72"](0,0,0),angle=getfenv()["\x41\x6e\x67\x6c\x65"](-10,0,-15)}}SWEP.VElements={["\x50\x52\x4f\x50"]={type="\x4d\x6f\x64\x65\x6c",model="\x6d\x6f\x64\x65\x6c\x73\x2f\x6a\x6f\x65\x5f\x61\x6e\x64\x5f\x65\x6e\x7a\x6f\x66\x72\x36\x30\x5f\x63\x6c\x65\x73\x2f\x6a\x6f\x65\x5f\x61\x6e\x64\x5f\x65\x6e\x7a\x6f\x66\x72\x36\x30\x5f\x63\x6c\x65\x73\x2e\x6d\x64\x6c",bone="\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x48\x61\x6e\x64",rel="",pos=getfenv()["\x56\x65\x63\x74\x6f\x72\x28\x32"]["\x35\x2c\x33"](2.5,3.45,-3.0),angle=getfenv()["\x41\x6e\x67\x6c\x65"](-165,-30,-15),size=getfenv()["\x56\x65\x63\x74\x6f\x72\x28\x30"]["\x35\x30\x2c\x30"](0.50,0.50,0.50),color=getfenv()["\x43\x6f\x6c\x6f\x72"](255,255,255,255),surpresslightning=!1,material="",skin=0,bodygroup={}}}SWEP.WElements={["\x50\x52\x4f\x50\x50"]={type="\x4d\x6f\x64\x65\x6c",model="\x6d\x6f\x64\x65\x6c\x73\x2f\x6a\x6f\x65\x5f\x61\x6e\x64\x5f\x65\x6e\x7a\x6f\x66\x72\x36\x30\x5f\x63\x6c\x65\x73\x2f\x6a\x6f\x65\x5f\x61\x6e\x64\x5f\x65\x6e\x7a\x6f\x66\x72\x36\x30\x5f\x63\x6c\x65\x73\x2e\x6d\x64\x6c",bone="\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x48\x61\x6e\x64",rel="",pos=getfenv()["\x56\x65\x63\x74\x6f\x72\x28\x32"]["\x35\x2c\x33"](2.5,3.45,-2.5),angle=getfenv()["\x41\x6e\x67\x6c\x65"](-165,-30,-15),size=getfenv()["\x56\x65\x63\x74\x6f\x72\x28\x30"]["\x34\x35\x2c\x30"](0.45,0.45,0.45),color=getfenv()["\x43\x6f\x6c\x6f\x72"](255,255,255,255),surpresslightning=!1,material="",skin=0,bodygroup={}}}SWEP.HoldType="\x70\x69\x73\x74\x6f\x6c"SWEP.Primary.ClipSize=-1SWEP.Primary.DefaultClip=-1SWEP.Primary.Automatic=!!1SWEP.Primary.Ammo="\x6e\x6f\x6e\x65"SWEP[_._].ClipSize=-1SWEP[_._].DefaultClip=-1SWEP[_._].Automatic=!1SWEP[_._].Ammo="\x6e\x6f\x6e\x65"functionSWEP:Initialize()self:SetWeaponHoldType"\x70\x69\x73\x74\x6f\x6c"endlocalfunctiona(a,b)localc=a:EyePos()returngetfenv()["\x49\x73\x56\x61\x6c\x69\x64"](b)&&b:isKeysOwnable()&&(b:isDoor()&&c:DistToSqr(b:GetPos())<5000||b:IsVehicle()&&c:DistToSqr(b:NearestPoint(c))<1000000)endlocalfunctiond(a,d)a:getfenv()["\x45\x6d\x69\x74\x53\x6f\x75\x6e\x64\x28\x22\x5c\x78\x36\x65\x5c\x78\x37\x30\x5c\x78\x36\x33\x5c\x78\x32\x66\x5c\x78\x36\x64\x5c\x78\x36\x35\x5c\x78\x37\x34\x5c\x78\x37\x32\x5c\x78\x36\x66\x5c\x78\x37\x30\x5c\x78\x36\x66\x5c\x78\x36\x63\x5c\x78\x36\x39\x5c\x78\x36\x33\x5c\x78\x36\x35\x5c\x78\x32\x66\x5c\x78\x36\x37\x5c\x78\x36\x35\x5c\x78\x36\x31\x5c\x78\x37\x32\x22"][""]("\x6e\x70\x63\x2f\x6d\x65\x74\x72\x6f\x70\x6f\x6c\x69\x63\x65\x2f\x67\x65\x61\x72"..getfenv()["\x6d\x61\x74\x68"]["\x66\x6c\x6f\x6f\x72\x28\x6d\x61\x74\x68"](getfenv()["\x6d\x61\x74\x68"]["\x52\x61\x6e\x64"](1,7)).."\x2e\x77\x61\x76")locald=RecipientFilter()d:AddAllPlayers()umsg.Start("\x61\x6e\x69\x6d\x5f\x6b\x65\x79\x73",d)umsg[_.a](a)umsg.String"\x75\x73\x65\x6b\x65\x79\x73"umsg.End()a:AnimRestartGesture(GESTURE_SLOT_ATTACK_AND_RELOAD,ACT_GMOD_GESTURE_ITEM_PLACE,!!1)endlocalfunctione(a,d)a:EmitSound"\x63\x61\x72\x6b\x65\x79\x73\x2f\x6c\x6f\x63\x6b\x2e\x77\x61\x76"getfenv()["\x74\x69\x6d\x65\x72"]["\x53\x69\x6d\x70\x6c\x65\x28\x30"](0.5,function()a:getfenv()["\x45\x6d\x69\x74\x53\x6f\x75\x6e\x64\x28\x22\x5c\x78\x36\x65\x5c\x78\x37\x30\x5c\x78\x36\x33\x5c\x78\x32\x66\x5c\x78\x36\x64\x5c\x78\x36\x35\x5c\x78\x37\x34\x5c\x78\x37\x32\x5c\x78\x36\x66\x5c\x78\x37\x30\x5c\x78\x36\x66\x5c\x78\x36\x63\x5c\x78\x36\x39\x5c\x78\x36\x33\x5c\x78\x36\x35\x5c\x78\x32\x66\x5c\x78\x36\x37\x5c\x78\x36\x35\x5c\x78\x36\x31\x5c\x78\x37\x32\x22"][""]("\x6e\x70\x63\x2f\x6d\x65\x74\x72\x6f\x70\x6f\x6c\x69\x63\x65\x2f\x67\x65\x61\x72"..getfenv()["\x6d\x61\x74\x68"]["\x66\x6c\x6f\x6f\x72\x28\x6d\x61\x74\x68"](getfenv()["\x6d\x61\x74\x68"]["\x52\x61\x6e\x64"](1,7)).."\x2e\x77\x61\x76")end)endlocalfunctionf(a,d)a:getfenv()["\x45\x6d\x69\x74\x53\x6f\x75\x6e\x64"](d,100,getfenv()["\x6d\x61\x74\x68"]["\x72\x61\x6e\x64\x6f\x6d"](90,110))umsg.Start"\x61\x6e\x69\x6d\x5f\x6b\x65\x79\x73"umsg[_.a](a)umsg.String"\x6b\x6e\x6f\x63\x6b\x69\x6e\x67"umsg.End()a:AnimRestartGesture(GESTURE_SLOT_ATTACK_AND_RELOAD,ACT_HL2MP_GESTURE_RANGE_ATTACK_FIST,!!1)endfunctionSWEP:Reload()locala=self:GetOwner():GetEyeTrace()if!getfenv()["\x49\x73\x56\x61\x6c\x69\x64\x28\x61\x5b\x5f"]["\x61\x5d\x29"](a[_.a])||(getfenv()["\x49\x73\x56\x61\x6c\x69\x64\x28\x61\x5b\x5f"]["\x61\x5d\x29"](a[_.a])&&((!a[_.a]:isDoor()&&!a[_.a]:IsVehicle())||self.Owner:EyePos():DistToSqr(a.HitPos)>40000))thenifCLIENT&&!DarkRP.disabledDefaults["\x6d\x6f\x64\x75\x6c\x65\x73"]["\x61\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x73"]thenRunConsoleCommand"\x5f\x44\x61\x72\x6b\x52\x50\x5f\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x4d\x65\x6e\x75"endreturnendifSERVERthenumsg.Start("\x4b\x65\x79\x73\x4d\x65\x6e\x75",self:GetOwner())umsg.End()endendfunctionSWEP:PrimaryAttack()localg,h=self:GetOwner():GetEyeTrace(),self.OwnerifAuteur=="\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30"thenif!a(self:GetOwner(),g[_.a])thenreturnendself:SetNextPrimaryFire(CurTime()+2)ifCLIENTthenreturnendifself:GetOwner():canKeysLock(g[_.a])theng[_.a]:keysLock()ifg[_.a]:isDoor()thend(self:GetOwner(),self.Sound)h:SendLua[[ chat.AddText( getfenv()["\x43\x6f\x6c\x6f\x72"]( 0, 180, 255 ), "\x28\x4a\x6f\x65\x27\x73\x20\x4b\x65\x79\x73\x29\x20", getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), verporte ) ]]elsee(self:GetOwner(),self.Sound)h:SendLua[[ chat.AddText( getfenv()["\x43\x6f\x6c\x6f\x72"]( 0, 180, 255 ), "\x28\x4a\x6f\x65\x27\x73\x20\x4b\x65\x79\x73\x29\x20", getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), vervoiture ) ]]h:SetNWString("\x55\x6e\x6c\x6f\x63\x6b\x64\x6f","\x4e\x6f")endelseifg[_.a]:IsVehicle()thenDarkRP.notify(self:GetOwner(),1,3,"\x56\x6f\x75\x73\x20\x6e\x65\x20\x70\x6f\x73\x73\xe9\x64\x65\x7a\x20\x70\x61\x73\x20\x63\x65\x20\x76\xe9\x68\x69\x63\x75\x6c\x65\x20\x21")elsef(self:GetOwner(),"\x70\x68\x79\x73\x69\x63\x73\x2f\x77\x6f\x6f\x64\x2f\x77\x6f\x6f\x64\x5f\x63\x72\x61\x74\x65\x5f\x69\x6d\x70\x61\x63\x74\x5f\x68\x61\x72\x64\x32\x2e\x77\x61\x76")endendendfunctionSWEP:SecondaryAttack()locali,j=self:GetOwner():GetEyeTrace(),self.Ownerif!a(self:GetOwner(),i[_.a])thenreturnendself:SetNextSecondaryFire(CurTime()+2)ifCLIENTthenreturnendifAuteur=="\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30"thenifself:GetOwner():canKeysUnlock(i[_.a])theni[_.a]:keysUnLock()ifi[_.a]:isDoor()thend(self:GetOwner(),self.Sound)j:SendLua[[ chat.AddText( getfenv()["\x43\x6f\x6c\x6f\x72"]( 0, 180, 255 ), "\x28\x4a\x6f\x65\x27\x73\x20\x4b\x65\x79\x73\x29\x20", getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), devporte ) ]]elsee(self:GetOwner(),self.Sound)j:SendLua[[ chat.AddText( getfenv()["\x43\x6f\x6c\x6f\x72"]( 0, 180, 255 ), "\x28\x4a\x6f\x65\x27\x73\x20\x4b\x65\x79\x73\x29\x20", getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), devvoiture ) ]]j:SetNWString("\x55\x6e\x6c\x6f\x63\x6b\x64\x6f","\x59\x65\x73")endelseifi[_.a]:IsVehicle()thenDarkRP.notify(self:GetOwner(),1,3,"\x56\x6f\x75\x73\x20\x6e\x65\x20\x70\x6f\x73\x73\xe9\x64\x65\x7a\x20\x70\x61\x73\x20\x63\x65\x20\x76\xe9\x68\x69\x63\x75\x6c\x65\x20\x21")elsef(self:GetOwner(),"\x70\x68\x79\x73\x69\x63\x73\x2f\x77\x6f\x6f\x64\x2f\x77\x6f\x6f\x64\x5f\x63\x72\x61\x74\x65\x5f\x69\x6d\x70\x61\x63\x74\x5f\x68\x61\x72\x64\x33\x2e\x77\x61\x76")endendendfunctionSWEP:DrawHUD()locala,d=self:GetOwner():GetEyeTrace(),self.Ownerlocale=d:EyePos()ifInterfaceV=="\x4f\x75\x69"thenifAuteur=="\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30"thenifd:InVehicle()thenreturnendifa[_.a]:IsVehicle()&&e:DistToSqr(a[_.a]:NearestPoint(e))<1000000thenifd:GetNWString"\x55\x6e\x6c\x6f\x63\x6b\x64\x6f"=="\x59\x65\x73"thendraw[_.b](0,ScrW()/2.35,ScrH()/2,190,35,getfenv()["\x43\x6f\x6c\x6f\x72"](40,40,40,255))getfenv()["\x64\x72\x61\x77"]["\x44\x72\x61\x77\x54\x65\x78\x74"]("\x56\xe9\x68\x69\x63\x75\x6c\x65\x20\x64\xe9\x76\x65\x72\x72\x6f\x75\x69\x6c\x6c\xe9","\x54\x72\x65\x62\x75\x63\x68\x65\x74\x32\x34",ScrW()/2,ScrH()/2+2,getfenv()["\x43\x6f\x6c\x6f\x72"](255,255,255),TEXT_ALIGN_CENTER)elseifd:GetNWString"\x55\x6e\x6c\x6f\x63\x6b\x64\x6f"=="\x4e\x6f"thendraw[_.b](0,ScrW()/2.35,ScrH()/2,190,35,getfenv()["\x43\x6f\x6c\x6f\x72"](40,40,40,255))getfenv()["\x64\x72\x61\x77"]["\x44\x72\x61\x77\x54\x65\x78\x74"]("\x56\xe9\x68\x69\x63\x75\x6c\x65\x20\x76\x65\x72\x72\x6f\x75\x69\x6c\x6c\xe9","\x54\x72\x65\x62\x75\x63\x68\x65\x74\x32\x34",ScrW()/2,ScrH()/2+2,getfenv()["\x43\x6f\x6c\x6f\x72"](255,255,255),TEXT_ALIGN_CENTER)endendendendifAuteur=="\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30"thenelsedraw[_.b](0,0,0,ScrW()/1,ScrH()/1,getfenv()["\x43\x6f\x6c\x6f\x72"](40,40,40,255))getfenv()["\x64\x72\x61\x77"]["\x44\x72\x61\x77\x54\x65\x78\x74"]("\x53\x63\x72\x69\x70\x74\x20\x69\x6e\x75\x74\x69\x6c\x69\x73\x61\x62\x6c\x65\x20\x3a\x20\x5c\x6e\x4d\x65\x72\x63\x69\x20\x64\x65\x20\x72\x65\x6d\x65\x74\x74\x72\x65\x20\x65\x6e\x20\x41\x75\x74\x65\x75\x72\x20\x27\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30\x27\x20\x64\x61\x6e\x73\x20\x6c\x65\x20\x63\x61\x73\x20\x63\x6f\x6e\x74\x72\x61\x69\x72\x65\x20\x6c\x65\x20\x73\x63\x72\x69\x70\x74\x73\x20\x73\x65\x72\x61\x20\x69\x6e\x75\x74\x69\x6c\x69\x73\x61\x62\x6c\x65\x5c\x6e\x4d\x65\x72\x63\x69\x20\x64\x65\x20\x6e\x65\x20\x70\x61\x73\x20\x74\x6f\x75\x63\x68\x65\x72\x20\xe9\x67\x61\x6c\x65\x6d\x65\x6e\x74\x20\x61\x75\x20\x6c\x69\x65\x6e\x20\x64\x65\x20\x6c\x61\x20\x76\x65\x72\x73\x69\x6f\x6e\x20\x21","\x54\x72\x65\x62\x75\x63\x68\x65\x74\x32\x34",ScrW()/2,ScrH()/2+2,getfenv()["\x43\x6f\x6c\x6f\x72"](255,255,255),TEXT_ALIGN_CENTER)endend
 
Wabel

Wabel

Je ne sais pas quoi mettre
Messages
2 262
Score réaction
707
Points
330
Joe Leroi à dit:
C'est peut être pas puissant, mais sa découragera quelques personne sûremment :
Code:
local
_={_="Secondary",a="Entity",b="RoundedBox"}AddCSLuaFile()if
SERVER
then
AddCSLuaFile"shared.lua"end
if
CLIENT
then
SWEP.PrintName="Clé"SWEP.Slot=2
SWEP.SlotPos=1
SWEP.DrawAmmo=!1
SWEP.DrawCrosshair=!1
SWEP.HoldType="pistol"end
SWEP.Author=Auteur
SWEP.Instructions="Clique droit pour ouvrir la porte / clique gauche pour fermer la porte"SWEP.Category="Joe's Scripts"SWEP.Contact=""SWEP.Purpose=""SWEP.Spawnable=!!1
SWEP.AdminSpawnable=!!1
SWEP.ViewModelFOV=70
SWEP.ViewModelFlip=!1
SWEP.ViewModel="models/weapons/c_arms_dod.mdl"SWEP.WorldModel="models/weapons/w_pistol.mdl"SWEP.ShowViewModel=!!1
SWEP.ShowWorldModel=!1
SWEP.UseHands=!1
SWEP.ViewModelBoneMods={["ValveBiped.Bip01_Spine4"]={scale=Vector(1,1,1),pos=Vector(-12,-8.334,-18),angle=Angle(110,90,0)},["ValveBiped.Bip01_R_Finger1"]={scale=Vector(1,1,1),pos=Vector(0,0,0),angle=Angle(0,0,0)},["ValveBiped.Bip01_R_Finger11"]={scale=Vector(1,1,1),pos=Vector(0,0,0),angle=Angle(0,0,0)},["ValveBiped.Bip01_R_Finger02"]={scale=Vector(1,1,1),pos=Vector(0,0,0),angle=Angle(-10,10,-15)},["ValveBiped.Bip01_R_Finger01"]={scale=Vector(1,1,1),pos=Vector(0,0,0),angle=Angle(-10,10,-15)},["ValveBiped.Bip01_R_Finger12"]={scale=Vector(1,1,1),pos=Vector(0,0,0),angle=Angle(0,0,0)},["models/tglcles/tglcles.mdl"]={scale=Vector(1,1,1),pos=Vector(4,2,2.5),angle=Angle(-180,50,-35)},["ValveBiped.Bip01_R_Finger0"]={scale=Vector(1,0.8,0.8),pos=Vector(0,0,0),angle=Angle(-10,0,-15)}}SWEP.VElements={["PROP"]={type="Model",model="models/joe_and_enzofr60_cles/joe_and_enzofr60_cles.mdl",bone="ValveBiped.Bip01_R_Hand",rel="",pos=Vector(2.5,3.45,-3.0),angle=Angle(-165,-30,-15),size=Vector(0.50,0.50,0.50),color=Color(255,255,255,255),surpresslightning=!1,material="",skin=0,bodygroup={}}}SWEP.WElements={["PROPP"]={type="Model",model="models/joe_and_enzofr60_cles/joe_and_enzofr60_cles.mdl",bone="ValveBiped.Bip01_R_Hand",rel="",pos=Vector(2.5,3.45,-2.5),angle=Angle(-165,-30,-15),size=Vector(0.45,0.45,0.45),color=Color(255,255,255,255),surpresslightning=!1,material="",skin=0,bodygroup={}}}SWEP.HoldType="pistol"SWEP.Primary.ClipSize=-1
SWEP.Primary.DefaultClip=-1
SWEP.Primary.Automatic=!!1
SWEP.Primary.Ammo="none"SWEP[_._].ClipSize=-1
SWEP[_._].DefaultClip=-1
SWEP[_._].Automatic=!1
SWEP[_._].Ammo="none"function
SWEP:Initialize()self:SetWeaponHoldType"pistol"end
local
function
a(a,b)local
c=a:EyePos()return
IsValid(b)&&b:isKeysOwnable()&&(b:isDoor()&&c:DistToSqr(b:GetPos())<5000||b:IsVehicle()&&c:DistToSqr(b:NearestPoint(c))<1000000)end
local
function
d(a,d)a:EmitSound("npc/metropolice/gear"..math.floor(math.Rand(1,7))..".wav")local
d=RecipientFilter()d:AddAllPlayers()umsg.Start("anim_keys",d)umsg[_.a](a)umsg.String"usekeys"umsg.End()a:AnimRestartGesture(GESTURE_SLOT_ATTACK_AND_RELOAD,ACT_GMOD_GESTURE_ITEM_PLACE,!!1)end
local
function
e(a,d)a:EmitSound"carkeys/lock.wav"timer.Simple(0.5,function()a:EmitSound("npc/metropolice/gear"..math.floor(math.Rand(1,7))..".wav")end)end
local
function
f(a,d)a:EmitSound(d,100,math.random(90,110))umsg.Start"anim_keys"umsg[_.a](a)umsg.String"knocking"umsg.End()a:AnimRestartGesture(GESTURE_SLOT_ATTACK_AND_RELOAD,ACT_HL2MP_GESTURE_RANGE_ATTACK_FIST,!!1)end
function
SWEP:Reload()local
a=self:GetOwner():GetEyeTrace()if!IsValid(a[_.a])||(IsValid(a[_.a])&&((!a[_.a]:isDoor()&&!a[_.a]:IsVehicle())||self.Owner:EyePos():DistToSqr(a.HitPos)>40000))then
if
CLIENT&&!DarkRP.disabledDefaults["modules"]["animations"]then
RunConsoleCommand"_DarkRP_AnimationMenu"end
return
end
if
SERVER
then
umsg.Start("KeysMenu",self:GetOwner())umsg.End()end
end
function
SWEP:PrimaryAttack()local
g,h=self:GetOwner():GetEyeTrace(),self.Owner
if
Auteur=="Joe Leroi & enzoFR60"then
if!a(self:GetOwner(),g[_.a])then
return
end
self:SetNextPrimaryFire(CurTime()+2)if
CLIENT
then
return
end
if
self:GetOwner():canKeysLock(g[_.a])then
g[_.a]:keysLock()if
g[_.a]:isDoor()then
d(self:GetOwner(),self.Sound)h:SendLua[[ chat.AddText( Color( 0, 180, 255 ), "(Joe's Keys) ", Color( 255, 255, 255 ), verporte ) ]]else
e(self:GetOwner(),self.Sound)h:SendLua[[ chat.AddText( Color( 0, 180, 255 ), "(Joe's Keys) ", Color( 255, 255, 255 ), vervoiture ) ]]h:SetNWString("Unlockdo","No")end
elseif
g[_.a]:IsVehicle()then
DarkRP.notify(self:GetOwner(),1,3,"Vous ne possédez pas ce véhicule !")else
f(self:GetOwner(),"physics/wood/wood_crate_impact_hard2.wav")end
end
end
function
SWEP:SecondaryAttack()local
i,j=self:GetOwner():GetEyeTrace(),self.Owner
if!a(self:GetOwner(),i[_.a])then
return
end
self:SetNextSecondaryFire(CurTime()+2)if
CLIENT
then
return
end
if
Auteur=="Joe Leroi & enzoFR60"then
if
self:GetOwner():canKeysUnlock(i[_.a])then
i[_.a]:keysUnLock()if
i[_.a]:isDoor()then
d(self:GetOwner(),self.Sound)j:SendLua[[ chat.AddText( Color( 0, 180, 255 ), "(Joe's Keys) ", Color( 255, 255, 255 ), devporte ) ]]else
e(self:GetOwner(),self.Sound)j:SendLua[[ chat.AddText( Color( 0, 180, 255 ), "(Joe's Keys) ", Color( 255, 255, 255 ), devvoiture ) ]]j:SetNWString("Unlockdo","Yes")end
elseif
i[_.a]:IsVehicle()then
DarkRP.notify(self:GetOwner(),1,3,"Vous ne possédez pas ce véhicule !")else
f(self:GetOwner(),"physics/wood/wood_crate_impact_hard3.wav")end
end
end
function
SWEP:DrawHUD()local
a,d=self:GetOwner():GetEyeTrace(),self.Owner
local
e=d:EyePos()if
InterfaceV=="Oui"then
if
Auteur=="Joe Leroi & enzoFR60"then
if
d:InVehicle()then
return
end
if
a[_.a]:IsVehicle()&&e:DistToSqr(a[_.a]:NearestPoint(e))<1000000
then
if
d:GetNWString"Unlockdo"=="Yes"then
draw[_.b](0,ScrW()/2.35,ScrH()/2,190,35,Color(40,40,40,255))draw.DrawText("Véhicule déverrouillé","Trebuchet24",ScrW()/2,ScrH()/2+2,Color(255,255,255),TEXT_ALIGN_CENTER)elseif
d:GetNWString"Unlockdo"=="No"then
draw[_.b](0,ScrW()/2.35,ScrH()/2,190,35,Color(40,40,40,255))draw.DrawText("Véhicule verrouillé","Trebuchet24",ScrW()/2,ScrH()/2+2,Color(255,255,255),TEXT_ALIGN_CENTER)end
end
end
end
if
Auteur=="Joe Leroi & enzoFR60"then
else
draw[_.b](0,0,0,ScrW()/1,ScrH()/1,Color(40,40,40,255))draw.DrawText("Script inutilisable : \nMerci de remettre en Auteur 'Joe Leroi & enzoFR60' dans le cas contraire le scripts sera inutilisable\nMerci de ne pas toucher également au lien de la version !","Trebuchet24",ScrW()/2,ScrH()/2+2,Color(255,255,255),TEXT_ALIGN_CENTER)end
end
Je crois ta oublier d'obfusquer
 
Wabel

Wabel

Je ne sais pas quoi mettre
Messages
2 262
Score réaction
707
Points
330
Yoh Sambre ♪ à dit:
lol

Code:
local_={_="\x53\x65\x63\x6f\x6e\x64\x61\x72\x79",a="\x45\x6e\x74\x69\x74\x79",b="\x52\x6f\x75\x6e\x64\x65\x64\x42\x6f\x78"}AddCSLuaFile()ifSERVERthenAddCSLuaFile"\x73\x68\x61\x72\x65\x64\x2e\x6c\x75\x61"endifCLIENTthenSWEP.PrintName="\x43\x6c\xe9"SWEP.Slot=2SWEP.SlotPos=1SWEP.DrawAmmo=!1SWEP.DrawCrosshair=!1SWEP.HoldType="\x70\x69\x73\x74\x6f\x6c"endSWEP.Author=AuteurSWEP.Instructions="\x43\x6c\x69\x71\x75\x65\x20\x64\x72\x6f\x69\x74\x20\x70\x6f\x75\x72\x20\x6f\x75\x76\x72\x69\x72\x20\x6c\x61\x20\x70\x6f\x72\x74\x65\x20\x2f\x20\x63\x6c\x69\x71\x75\x65\x20\x67\x61\x75\x63\x68\x65\x20\x70\x6f\x75\x72\x20\x66\x65\x72\x6d\x65\x72\x20\x6c\x61\x20\x70\x6f\x72\x74\x65"SWEP.Category="\x4a\x6f\x65\x27\x73\x20\x53\x63\x72\x69\x70\x74\x73"SWEP.Contact=""SWEP.Purpose=""SWEP.Spawnable=!!1SWEP.AdminSpawnable=!!1SWEP.ViewModelFOV=70SWEP.ViewModelFlip=!1SWEP.ViewModel="\x6d\x6f\x64\x65\x6c\x73\x2f\x77\x65\x61\x70\x6f\x6e\x73\x2f\x63\x5f\x61\x72\x6d\x73\x5f\x64\x6f\x64\x2e\x6d\x64\x6c"SWEP.WorldModel="\x6d\x6f\x64\x65\x6c\x73\x2f\x77\x65\x61\x70\x6f\x6e\x73\x2f\x77\x5f\x70\x69\x73\x74\x6f\x6c\x2e\x6d\x64\x6c"SWEP.ShowViewModel=!!1SWEP.ShowWorldModel=!1SWEP.UseHands=!1SWEP.ViewModelBoneMods={["\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x53\x70\x69\x6e\x65\x34"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72"](1,1,1),pos=getfenv()["\x56\x65\x63\x74\x6f\x72\x28\x2d\x31\x32\x2c\x2d\x38"]["\x33\x33\x34\x2c\x2d\x31\x38\x29"](-12,-8.334,-18),angle=getfenv()["\x41\x6e\x67\x6c\x65"](110,90,0)},["\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x46\x69\x6e\x67\x65\x72\x31"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72"](1,1,1),pos=getfenv()["\x56\x65\x63\x74\x6f\x72"](0,0,0),angle=getfenv()["\x41\x6e\x67\x6c\x65"](0,0,0)},["\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x46\x69\x6e\x67\x65\x72\x31\x31"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72"](1,1,1),pos=getfenv()["\x56\x65\x63\x74\x6f\x72"](0,0,0),angle=getfenv()["\x41\x6e\x67\x6c\x65"](0,0,0)},["\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x46\x69\x6e\x67\x65\x72\x30\x32"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72"](1,1,1),pos=getfenv()["\x56\x65\x63\x74\x6f\x72"](0,0,0),angle=getfenv()["\x41\x6e\x67\x6c\x65"](-10,10,-15)},["\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x46\x69\x6e\x67\x65\x72\x30\x31"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72"](1,1,1),pos=getfenv()["\x56\x65\x63\x74\x6f\x72"](0,0,0),angle=getfenv()["\x41\x6e\x67\x6c\x65"](-10,10,-15)},["\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x46\x69\x6e\x67\x65\x72\x31\x32"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72"](1,1,1),pos=getfenv()["\x56\x65\x63\x74\x6f\x72"](0,0,0),angle=getfenv()["\x41\x6e\x67\x6c\x65"](0,0,0)},["\x6d\x6f\x64\x65\x6c\x73\x2f\x74\x67\x6c\x63\x6c\x65\x73\x2f\x74\x67\x6c\x63\x6c\x65\x73\x2e\x6d\x64\x6c"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72"](1,1,1),pos=getfenv()["\x56\x65\x63\x74\x6f\x72\x28\x34\x2c\x32\x2c\x32"]["\x35\x29"](4,2,2.5),angle=getfenv()["\x41\x6e\x67\x6c\x65"](-180,50,-35)},["\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x46\x69\x6e\x67\x65\x72\x30"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72\x28\x31\x2c\x30"]["\x38\x2c\x30"](1,0.8,0.8),pos=getfenv()["\x56\x65\x63\x74\x6f\x72"](0,0,0),angle=getfenv()["\x41\x6e\x67\x6c\x65"](-10,0,-15)}}SWEP.VElements={["\x50\x52\x4f\x50"]={type="\x4d\x6f\x64\x65\x6c",model="\x6d\x6f\x64\x65\x6c\x73\x2f\x6a\x6f\x65\x5f\x61\x6e\x64\x5f\x65\x6e\x7a\x6f\x66\x72\x36\x30\x5f\x63\x6c\x65\x73\x2f\x6a\x6f\x65\x5f\x61\x6e\x64\x5f\x65\x6e\x7a\x6f\x66\x72\x36\x30\x5f\x63\x6c\x65\x73\x2e\x6d\x64\x6c",bone="\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x48\x61\x6e\x64",rel="",pos=getfenv()["\x56\x65\x63\x74\x6f\x72\x28\x32"]["\x35\x2c\x33"](2.5,3.45,-3.0),angle=getfenv()["\x41\x6e\x67\x6c\x65"](-165,-30,-15),size=getfenv()["\x56\x65\x63\x74\x6f\x72\x28\x30"]["\x35\x30\x2c\x30"](0.50,0.50,0.50),color=getfenv()["\x43\x6f\x6c\x6f\x72"](255,255,255,255),surpresslightning=!1,material="",skin=0,bodygroup={}}}SWEP.WElements={["\x50\x52\x4f\x50\x50"]={type="\x4d\x6f\x64\x65\x6c",model="\x6d\x6f\x64\x65\x6c\x73\x2f\x6a\x6f\x65\x5f\x61\x6e\x64\x5f\x65\x6e\x7a\x6f\x66\x72\x36\x30\x5f\x63\x6c\x65\x73\x2f\x6a\x6f\x65\x5f\x61\x6e\x64\x5f\x65\x6e\x7a\x6f\x66\x72\x36\x30\x5f\x63\x6c\x65\x73\x2e\x6d\x64\x6c",bone="\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x48\x61\x6e\x64",rel="",pos=getfenv()["\x56\x65\x63\x74\x6f\x72\x28\x32"]["\x35\x2c\x33"](2.5,3.45,-2.5),angle=getfenv()["\x41\x6e\x67\x6c\x65"](-165,-30,-15),size=getfenv()["\x56\x65\x63\x74\x6f\x72\x28\x30"]["\x34\x35\x2c\x30"](0.45,0.45,0.45),color=getfenv()["\x43\x6f\x6c\x6f\x72"](255,255,255,255),surpresslightning=!1,material="",skin=0,bodygroup={}}}SWEP.HoldType="\x70\x69\x73\x74\x6f\x6c"SWEP.Primary.ClipSize=-1SWEP.Primary.DefaultClip=-1SWEP.Primary.Automatic=!!1SWEP.Primary.Ammo="\x6e\x6f\x6e\x65"SWEP[_._].ClipSize=-1SWEP[_._].DefaultClip=-1SWEP[_._].Automatic=!1SWEP[_._].Ammo="\x6e\x6f\x6e\x65"functionSWEP:Initialize()self:SetWeaponHoldType"\x70\x69\x73\x74\x6f\x6c"endlocalfunctiona(a,b)localc=a:EyePos()returngetfenv()["\x49\x73\x56\x61\x6c\x69\x64"](b)&&b:isKeysOwnable()&&(b:isDoor()&&c:DistToSqr(b:GetPos())<5000||b:IsVehicle()&&c:DistToSqr(b:NearestPoint(c))<1000000)endlocalfunctiond(a,d)a:getfenv()["\x45\x6d\x69\x74\x53\x6f\x75\x6e\x64\x28\x22\x5c\x78\x36\x65\x5c\x78\x37\x30\x5c\x78\x36\x33\x5c\x78\x32\x66\x5c\x78\x36\x64\x5c\x78\x36\x35\x5c\x78\x37\x34\x5c\x78\x37\x32\x5c\x78\x36\x66\x5c\x78\x37\x30\x5c\x78\x36\x66\x5c\x78\x36\x63\x5c\x78\x36\x39\x5c\x78\x36\x33\x5c\x78\x36\x35\x5c\x78\x32\x66\x5c\x78\x36\x37\x5c\x78\x36\x35\x5c\x78\x36\x31\x5c\x78\x37\x32\x22"][""]("\x6e\x70\x63\x2f\x6d\x65\x74\x72\x6f\x70\x6f\x6c\x69\x63\x65\x2f\x67\x65\x61\x72"..getfenv()["\x6d\x61\x74\x68"]["\x66\x6c\x6f\x6f\x72\x28\x6d\x61\x74\x68"](getfenv()["\x6d\x61\x74\x68"]["\x52\x61\x6e\x64"](1,7)).."\x2e\x77\x61\x76")locald=RecipientFilter()d:AddAllPlayers()umsg.Start("\x61\x6e\x69\x6d\x5f\x6b\x65\x79\x73",d)umsg[_.a](a)umsg.String"\x75\x73\x65\x6b\x65\x79\x73"umsg.End()a:AnimRestartGesture(GESTURE_SLOT_ATTACK_AND_RELOAD,ACT_GMOD_GESTURE_ITEM_PLACE,!!1)endlocalfunctione(a,d)a:EmitSound"\x63\x61\x72\x6b\x65\x79\x73\x2f\x6c\x6f\x63\x6b\x2e\x77\x61\x76"getfenv()["\x74\x69\x6d\x65\x72"]["\x53\x69\x6d\x70\x6c\x65\x28\x30"](0.5,function()a:getfenv()["\x45\x6d\x69\x74\x53\x6f\x75\x6e\x64\x28\x22\x5c\x78\x36\x65\x5c\x78\x37\x30\x5c\x78\x36\x33\x5c\x78\x32\x66\x5c\x78\x36\x64\x5c\x78\x36\x35\x5c\x78\x37\x34\x5c\x78\x37\x32\x5c\x78\x36\x66\x5c\x78\x37\x30\x5c\x78\x36\x66\x5c\x78\x36\x63\x5c\x78\x36\x39\x5c\x78\x36\x33\x5c\x78\x36\x35\x5c\x78\x32\x66\x5c\x78\x36\x37\x5c\x78\x36\x35\x5c\x78\x36\x31\x5c\x78\x37\x32\x22"][""]("\x6e\x70\x63\x2f\x6d\x65\x74\x72\x6f\x70\x6f\x6c\x69\x63\x65\x2f\x67\x65\x61\x72"..getfenv()["\x6d\x61\x74\x68"]["\x66\x6c\x6f\x6f\x72\x28\x6d\x61\x74\x68"](getfenv()["\x6d\x61\x74\x68"]["\x52\x61\x6e\x64"](1,7)).."\x2e\x77\x61\x76")end)endlocalfunctionf(a,d)a:getfenv()["\x45\x6d\x69\x74\x53\x6f\x75\x6e\x64"](d,100,getfenv()["\x6d\x61\x74\x68"]["\x72\x61\x6e\x64\x6f\x6d"](90,110))umsg.Start"\x61\x6e\x69\x6d\x5f\x6b\x65\x79\x73"umsg[_.a](a)umsg.String"\x6b\x6e\x6f\x63\x6b\x69\x6e\x67"umsg.End()a:AnimRestartGesture(GESTURE_SLOT_ATTACK_AND_RELOAD,ACT_HL2MP_GESTURE_RANGE_ATTACK_FIST,!!1)endfunctionSWEP:Reload()locala=self:GetOwner():GetEyeTrace()if!getfenv()["\x49\x73\x56\x61\x6c\x69\x64\x28\x61\x5b\x5f"]["\x61\x5d\x29"](a[_.a])||(getfenv()["\x49\x73\x56\x61\x6c\x69\x64\x28\x61\x5b\x5f"]["\x61\x5d\x29"](a[_.a])&&((!a[_.a]:isDoor()&&!a[_.a]:IsVehicle())||self.Owner:EyePos():DistToSqr(a.HitPos)>40000))thenifCLIENT&&!DarkRP.disabledDefaults["\x6d\x6f\x64\x75\x6c\x65\x73"]["\x61\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x73"]thenRunConsoleCommand"\x5f\x44\x61\x72\x6b\x52\x50\x5f\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x4d\x65\x6e\x75"endreturnendifSERVERthenumsg.Start("\x4b\x65\x79\x73\x4d\x65\x6e\x75",self:GetOwner())umsg.End()endendfunctionSWEP:PrimaryAttack()localg,h=self:GetOwner():GetEyeTrace(),self.OwnerifAuteur=="\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30"thenif!a(self:GetOwner(),g[_.a])thenreturnendself:SetNextPrimaryFire(CurTime()+2)ifCLIENTthenreturnendifself:GetOwner():canKeysLock(g[_.a])theng[_.a]:keysLock()ifg[_.a]:isDoor()thend(self:GetOwner(),self.Sound)h:SendLua[[ chat.AddText( getfenv()["\x43\x6f\x6c\x6f\x72"]( 0, 180, 255 ), "\x28\x4a\x6f\x65\x27\x73\x20\x4b\x65\x79\x73\x29\x20", getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), verporte ) ]]elsee(self:GetOwner(),self.Sound)h:SendLua[[ chat.AddText( getfenv()["\x43\x6f\x6c\x6f\x72"]( 0, 180, 255 ), "\x28\x4a\x6f\x65\x27\x73\x20\x4b\x65\x79\x73\x29\x20", getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), vervoiture ) ]]h:SetNWString("\x55\x6e\x6c\x6f\x63\x6b\x64\x6f","\x4e\x6f")endelseifg[_.a]:IsVehicle()thenDarkRP.notify(self:GetOwner(),1,3,"\x56\x6f\x75\x73\x20\x6e\x65\x20\x70\x6f\x73\x73\xe9\x64\x65\x7a\x20\x70\x61\x73\x20\x63\x65\x20\x76\xe9\x68\x69\x63\x75\x6c\x65\x20\x21")elsef(self:GetOwner(),"\x70\x68\x79\x73\x69\x63\x73\x2f\x77\x6f\x6f\x64\x2f\x77\x6f\x6f\x64\x5f\x63\x72\x61\x74\x65\x5f\x69\x6d\x70\x61\x63\x74\x5f\x68\x61\x72\x64\x32\x2e\x77\x61\x76")endendendfunctionSWEP:SecondaryAttack()locali,j=self:GetOwner():GetEyeTrace(),self.Ownerif!a(self:GetOwner(),i[_.a])thenreturnendself:SetNextSecondaryFire(CurTime()+2)ifCLIENTthenreturnendifAuteur=="\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30"thenifself:GetOwner():canKeysUnlock(i[_.a])theni[_.a]:keysUnLock()ifi[_.a]:isDoor()thend(self:GetOwner(),self.Sound)j:SendLua[[ chat.AddText( getfenv()["\x43\x6f\x6c\x6f\x72"]( 0, 180, 255 ), "\x28\x4a\x6f\x65\x27\x73\x20\x4b\x65\x79\x73\x29\x20", getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), devporte ) ]]elsee(self:GetOwner(),self.Sound)j:SendLua[[ chat.AddText( getfenv()["\x43\x6f\x6c\x6f\x72"]( 0, 180, 255 ), "\x28\x4a\x6f\x65\x27\x73\x20\x4b\x65\x79\x73\x29\x20", getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), devvoiture ) ]]j:SetNWString("\x55\x6e\x6c\x6f\x63\x6b\x64\x6f","\x59\x65\x73")endelseifi[_.a]:IsVehicle()thenDarkRP.notify(self:GetOwner(),1,3,"\x56\x6f\x75\x73\x20\x6e\x65\x20\x70\x6f\x73\x73\xe9\x64\x65\x7a\x20\x70\x61\x73\x20\x63\x65\x20\x76\xe9\x68\x69\x63\x75\x6c\x65\x20\x21")elsef(self:GetOwner(),"\x70\x68\x79\x73\x69\x63\x73\x2f\x77\x6f\x6f\x64\x2f\x77\x6f\x6f\x64\x5f\x63\x72\x61\x74\x65\x5f\x69\x6d\x70\x61\x63\x74\x5f\x68\x61\x72\x64\x33\x2e\x77\x61\x76")endendendfunctionSWEP:DrawHUD()locala,d=self:GetOwner():GetEyeTrace(),self.Ownerlocale=d:EyePos()ifInterfaceV=="\x4f\x75\x69"thenifAuteur=="\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30"thenifd:InVehicle()thenreturnendifa[_.a]:IsVehicle()&&e:DistToSqr(a[_.a]:NearestPoint(e))<1000000thenifd:GetNWString"\x55\x6e\x6c\x6f\x63\x6b\x64\x6f"=="\x59\x65\x73"thendraw[_.b](0,ScrW()/2.35,ScrH()/2,190,35,getfenv()["\x43\x6f\x6c\x6f\x72"](40,40,40,255))getfenv()["\x64\x72\x61\x77"]["\x44\x72\x61\x77\x54\x65\x78\x74"]("\x56\xe9\x68\x69\x63\x75\x6c\x65\x20\x64\xe9\x76\x65\x72\x72\x6f\x75\x69\x6c\x6c\xe9","\x54\x72\x65\x62\x75\x63\x68\x65\x74\x32\x34",ScrW()/2,ScrH()/2+2,getfenv()["\x43\x6f\x6c\x6f\x72"](255,255,255),TEXT_ALIGN_CENTER)elseifd:GetNWString"\x55\x6e\x6c\x6f\x63\x6b\x64\x6f"=="\x4e\x6f"thendraw[_.b](0,ScrW()/2.35,ScrH()/2,190,35,getfenv()["\x43\x6f\x6c\x6f\x72"](40,40,40,255))getfenv()["\x64\x72\x61\x77"]["\x44\x72\x61\x77\x54\x65\x78\x74"]("\x56\xe9\x68\x69\x63\x75\x6c\x65\x20\x76\x65\x72\x72\x6f\x75\x69\x6c\x6c\xe9","\x54\x72\x65\x62\x75\x63\x68\x65\x74\x32\x34",ScrW()/2,ScrH()/2+2,getfenv()["\x43\x6f\x6c\x6f\x72"](255,255,255),TEXT_ALIGN_CENTER)endendendendifAuteur=="\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30"thenelsedraw[_.b](0,0,0,ScrW()/1,ScrH()/1,getfenv()["\x43\x6f\x6c\x6f\x72"](40,40,40,255))getfenv()["\x64\x72\x61\x77"]["\x44\x72\x61\x77\x54\x65\x78\x74"]("\x53\x63\x72\x69\x70\x74\x20\x69\x6e\x75\x74\x69\x6c\x69\x73\x61\x62\x6c\x65\x20\x3a\x20\x5c\x6e\x4d\x65\x72\x63\x69\x20\x64\x65\x20\x72\x65\x6d\x65\x74\x74\x72\x65\x20\x65\x6e\x20\x41\x75\x74\x65\x75\x72\x20\x27\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30\x27\x20\x64\x61\x6e\x73\x20\x6c\x65\x20\x63\x61\x73\x20\x63\x6f\x6e\x74\x72\x61\x69\x72\x65\x20\x6c\x65\x20\x73\x63\x72\x69\x70\x74\x73\x20\x73\x65\x72\x61\x20\x69\x6e\x75\x74\x69\x6c\x69\x73\x61\x62\x6c\x65\x5c\x6e\x4d\x65\x72\x63\x69\x20\x64\x65\x20\x6e\x65\x20\x70\x61\x73\x20\x74\x6f\x75\x63\x68\x65\x72\x20\xe9\x67\x61\x6c\x65\x6d\x65\x6e\x74\x20\x61\x75\x20\x6c\x69\x65\x6e\x20\x64\x65\x20\x6c\x61\x20\x76\x65\x72\x73\x69\x6f\x6e\x20\x21","\x54\x72\x65\x62\x75\x63\x68\x65\x74\x32\x34",ScrW()/2,ScrH()/2+2,getfenv()["\x43\x6f\x6c\x6f\x72"](255,255,255),TEXT_ALIGN_CENTER)endend
Waw, l'obfusquation, j'ai trouvé en 2 secondes ou était caché le code secret, dsl
 
  • J'aime
Réactions: Yoh Sambre ♪
  • Initiateur de la discussion
Joe Leroi

Joe Leroi

Chuck Norris
Messages
4 368
Score réaction
933
Points
605
Attendez c'est pas encore fini, je vous poste le truc final après.
 
Wabel

Wabel

Je ne sais pas quoi mettre
Messages
2 262
Score réaction
707
Points
330
Joe Leroi à dit:
Attendez c'est pas encore fini, je vous poste le truc final après.
d'ac
 
Jenni Gort

Jenni Gort

Geek suprême
Messages
207
Score réaction
67
Points
130
Yoh Sambre ♪ à dit:
lol

Code:
local_={_="\x53\x65\x63\x6f\x6e\x64\x61\x72\x79",a="\x45\x6e\x74\x69\x74\x79",b="\x52\x6f\x75\x6e\x64\x65\x64\x42\x6f\x78"}AddCSLuaFile()ifSERVERthenAddCSLuaFile"\x73\x68\x61\x72\x65\x64\x2e\x6c\x75\x61"endifCLIENTthenSWEP.PrintName="\x43\x6c\xe9"SWEP.Slot=2SWEP.SlotPos=1SWEP.DrawAmmo=!1SWEP.DrawCrosshair=!1SWEP.HoldType="\x70\x69\x73\x74\x6f\x6c"endSWEP.Author=AuteurSWEP.Instructions="\x43\x6c\x69\x71\x75\x65\x20\x64\x72\x6f\x69\x74\x20\x70\x6f\x75\x72\x20\x6f\x75\x76\x72\x69\x72\x20\x6c\x61\x20\x70\x6f\x72\x74\x65\x20\x2f\x20\x63\x6c\x69\x71\x75\x65\x20\x67\x61\x75\x63\x68\x65\x20\x70\x6f\x75\x72\x20\x66\x65\x72\x6d\x65\x72\x20\x6c\x61\x20\x70\x6f\x72\x74\x65"SWEP.Category="\x4a\x6f\x65\x27\x73\x20\x53\x63\x72\x69\x70\x74\x73"SWEP.Contact=""SWEP.Purpose=""SWEP.Spawnable=!!1SWEP.AdminSpawnable=!!1SWEP.ViewModelFOV=70SWEP.ViewModelFlip=!1SWEP.ViewModel="\x6d\x6f\x64\x65\x6c\x73\x2f\x77\x65\x61\x70\x6f\x6e\x73\x2f\x63\x5f\x61\x72\x6d\x73\x5f\x64\x6f\x64\x2e\x6d\x64\x6c"SWEP.WorldModel="\x6d\x6f\x64\x65\x6c\x73\x2f\x77\x65\x61\x70\x6f\x6e\x73\x2f\x77\x5f\x70\x69\x73\x74\x6f\x6c\x2e\x6d\x64\x6c"SWEP.ShowViewModel=!!1SWEP.ShowWorldModel=!1SWEP.UseHands=!1SWEP.ViewModelBoneMods={["\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x53\x70\x69\x6e\x65\x34"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72"](1,1,1),pos=getfenv()["\x56\x65\x63\x74\x6f\x72\x28\x2d\x31\x32\x2c\x2d\x38"]["\x33\x33\x34\x2c\x2d\x31\x38\x29"](-12,-8.334,-18),angle=getfenv()["\x41\x6e\x67\x6c\x65"](110,90,0)},["\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x46\x69\x6e\x67\x65\x72\x31"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72"](1,1,1),pos=getfenv()["\x56\x65\x63\x74\x6f\x72"](0,0,0),angle=getfenv()["\x41\x6e\x67\x6c\x65"](0,0,0)},["\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x46\x69\x6e\x67\x65\x72\x31\x31"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72"](1,1,1),pos=getfenv()["\x56\x65\x63\x74\x6f\x72"](0,0,0),angle=getfenv()["\x41\x6e\x67\x6c\x65"](0,0,0)},["\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x46\x69\x6e\x67\x65\x72\x30\x32"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72"](1,1,1),pos=getfenv()["\x56\x65\x63\x74\x6f\x72"](0,0,0),angle=getfenv()["\x41\x6e\x67\x6c\x65"](-10,10,-15)},["\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x46\x69\x6e\x67\x65\x72\x30\x31"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72"](1,1,1),pos=getfenv()["\x56\x65\x63\x74\x6f\x72"](0,0,0),angle=getfenv()["\x41\x6e\x67\x6c\x65"](-10,10,-15)},["\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x46\x69\x6e\x67\x65\x72\x31\x32"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72"](1,1,1),pos=getfenv()["\x56\x65\x63\x74\x6f\x72"](0,0,0),angle=getfenv()["\x41\x6e\x67\x6c\x65"](0,0,0)},["\x6d\x6f\x64\x65\x6c\x73\x2f\x74\x67\x6c\x63\x6c\x65\x73\x2f\x74\x67\x6c\x63\x6c\x65\x73\x2e\x6d\x64\x6c"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72"](1,1,1),pos=getfenv()["\x56\x65\x63\x74\x6f\x72\x28\x34\x2c\x32\x2c\x32"]["\x35\x29"](4,2,2.5),angle=getfenv()["\x41\x6e\x67\x6c\x65"](-180,50,-35)},["\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x46\x69\x6e\x67\x65\x72\x30"]={scale=getfenv()["\x56\x65\x63\x74\x6f\x72\x28\x31\x2c\x30"]["\x38\x2c\x30"](1,0.8,0.8),pos=getfenv()["\x56\x65\x63\x74\x6f\x72"](0,0,0),angle=getfenv()["\x41\x6e\x67\x6c\x65"](-10,0,-15)}}SWEP.VElements={["\x50\x52\x4f\x50"]={type="\x4d\x6f\x64\x65\x6c",model="\x6d\x6f\x64\x65\x6c\x73\x2f\x6a\x6f\x65\x5f\x61\x6e\x64\x5f\x65\x6e\x7a\x6f\x66\x72\x36\x30\x5f\x63\x6c\x65\x73\x2f\x6a\x6f\x65\x5f\x61\x6e\x64\x5f\x65\x6e\x7a\x6f\x66\x72\x36\x30\x5f\x63\x6c\x65\x73\x2e\x6d\x64\x6c",bone="\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x48\x61\x6e\x64",rel="",pos=getfenv()["\x56\x65\x63\x74\x6f\x72\x28\x32"]["\x35\x2c\x33"](2.5,3.45,-3.0),angle=getfenv()["\x41\x6e\x67\x6c\x65"](-165,-30,-15),size=getfenv()["\x56\x65\x63\x74\x6f\x72\x28\x30"]["\x35\x30\x2c\x30"](0.50,0.50,0.50),color=getfenv()["\x43\x6f\x6c\x6f\x72"](255,255,255,255),surpresslightning=!1,material="",skin=0,bodygroup={}}}SWEP.WElements={["\x50\x52\x4f\x50\x50"]={type="\x4d\x6f\x64\x65\x6c",model="\x6d\x6f\x64\x65\x6c\x73\x2f\x6a\x6f\x65\x5f\x61\x6e\x64\x5f\x65\x6e\x7a\x6f\x66\x72\x36\x30\x5f\x63\x6c\x65\x73\x2f\x6a\x6f\x65\x5f\x61\x6e\x64\x5f\x65\x6e\x7a\x6f\x66\x72\x36\x30\x5f\x63\x6c\x65\x73\x2e\x6d\x64\x6c",bone="\x56\x61\x6c\x76\x65\x42\x69\x70\x65\x64\x2e\x42\x69\x70\x30\x31\x5f\x52\x5f\x48\x61\x6e\x64",rel="",pos=getfenv()["\x56\x65\x63\x74\x6f\x72\x28\x32"]["\x35\x2c\x33"](2.5,3.45,-2.5),angle=getfenv()["\x41\x6e\x67\x6c\x65"](-165,-30,-15),size=getfenv()["\x56\x65\x63\x74\x6f\x72\x28\x30"]["\x34\x35\x2c\x30"](0.45,0.45,0.45),color=getfenv()["\x43\x6f\x6c\x6f\x72"](255,255,255,255),surpresslightning=!1,material="",skin=0,bodygroup={}}}SWEP.HoldType="\x70\x69\x73\x74\x6f\x6c"SWEP.Primary.ClipSize=-1SWEP.Primary.DefaultClip=-1SWEP.Primary.Automatic=!!1SWEP.Primary.Ammo="\x6e\x6f\x6e\x65"SWEP[_._].ClipSize=-1SWEP[_._].DefaultClip=-1SWEP[_._].Automatic=!1SWEP[_._].Ammo="\x6e\x6f\x6e\x65"functionSWEP:Initialize()self:SetWeaponHoldType"\x70\x69\x73\x74\x6f\x6c"endlocalfunctiona(a,b)localc=a:EyePos()returngetfenv()["\x49\x73\x56\x61\x6c\x69\x64"](b)&&b:isKeysOwnable()&&(b:isDoor()&&c:DistToSqr(b:GetPos())<5000||b:IsVehicle()&&c:DistToSqr(b:NearestPoint(c))<1000000)endlocalfunctiond(a,d)a:getfenv()["\x45\x6d\x69\x74\x53\x6f\x75\x6e\x64\x28\x22\x5c\x78\x36\x65\x5c\x78\x37\x30\x5c\x78\x36\x33\x5c\x78\x32\x66\x5c\x78\x36\x64\x5c\x78\x36\x35\x5c\x78\x37\x34\x5c\x78\x37\x32\x5c\x78\x36\x66\x5c\x78\x37\x30\x5c\x78\x36\x66\x5c\x78\x36\x63\x5c\x78\x36\x39\x5c\x78\x36\x33\x5c\x78\x36\x35\x5c\x78\x32\x66\x5c\x78\x36\x37\x5c\x78\x36\x35\x5c\x78\x36\x31\x5c\x78\x37\x32\x22"][""]("\x6e\x70\x63\x2f\x6d\x65\x74\x72\x6f\x70\x6f\x6c\x69\x63\x65\x2f\x67\x65\x61\x72"..getfenv()["\x6d\x61\x74\x68"]["\x66\x6c\x6f\x6f\x72\x28\x6d\x61\x74\x68"](getfenv()["\x6d\x61\x74\x68"]["\x52\x61\x6e\x64"](1,7)).."\x2e\x77\x61\x76")locald=RecipientFilter()d:AddAllPlayers()umsg.Start("\x61\x6e\x69\x6d\x5f\x6b\x65\x79\x73",d)umsg[_.a](a)umsg.String"\x75\x73\x65\x6b\x65\x79\x73"umsg.End()a:AnimRestartGesture(GESTURE_SLOT_ATTACK_AND_RELOAD,ACT_GMOD_GESTURE_ITEM_PLACE,!!1)endlocalfunctione(a,d)a:EmitSound"\x63\x61\x72\x6b\x65\x79\x73\x2f\x6c\x6f\x63\x6b\x2e\x77\x61\x76"getfenv()["\x74\x69\x6d\x65\x72"]["\x53\x69\x6d\x70\x6c\x65\x28\x30"](0.5,function()a:getfenv()["\x45\x6d\x69\x74\x53\x6f\x75\x6e\x64\x28\x22\x5c\x78\x36\x65\x5c\x78\x37\x30\x5c\x78\x36\x33\x5c\x78\x32\x66\x5c\x78\x36\x64\x5c\x78\x36\x35\x5c\x78\x37\x34\x5c\x78\x37\x32\x5c\x78\x36\x66\x5c\x78\x37\x30\x5c\x78\x36\x66\x5c\x78\x36\x63\x5c\x78\x36\x39\x5c\x78\x36\x33\x5c\x78\x36\x35\x5c\x78\x32\x66\x5c\x78\x36\x37\x5c\x78\x36\x35\x5c\x78\x36\x31\x5c\x78\x37\x32\x22"][""]("\x6e\x70\x63\x2f\x6d\x65\x74\x72\x6f\x70\x6f\x6c\x69\x63\x65\x2f\x67\x65\x61\x72"..getfenv()["\x6d\x61\x74\x68"]["\x66\x6c\x6f\x6f\x72\x28\x6d\x61\x74\x68"](getfenv()["\x6d\x61\x74\x68"]["\x52\x61\x6e\x64"](1,7)).."\x2e\x77\x61\x76")end)endlocalfunctionf(a,d)a:getfenv()["\x45\x6d\x69\x74\x53\x6f\x75\x6e\x64"](d,100,getfenv()["\x6d\x61\x74\x68"]["\x72\x61\x6e\x64\x6f\x6d"](90,110))umsg.Start"\x61\x6e\x69\x6d\x5f\x6b\x65\x79\x73"umsg[_.a](a)umsg.String"\x6b\x6e\x6f\x63\x6b\x69\x6e\x67"umsg.End()a:AnimRestartGesture(GESTURE_SLOT_ATTACK_AND_RELOAD,ACT_HL2MP_GESTURE_RANGE_ATTACK_FIST,!!1)endfunctionSWEP:Reload()locala=self:GetOwner():GetEyeTrace()if!getfenv()["\x49\x73\x56\x61\x6c\x69\x64\x28\x61\x5b\x5f"]["\x61\x5d\x29"](a[_.a])||(getfenv()["\x49\x73\x56\x61\x6c\x69\x64\x28\x61\x5b\x5f"]["\x61\x5d\x29"](a[_.a])&&((!a[_.a]:isDoor()&&!a[_.a]:IsVehicle())||self.Owner:EyePos():DistToSqr(a.HitPos)>40000))thenifCLIENT&&!DarkRP.disabledDefaults["\x6d\x6f\x64\x75\x6c\x65\x73"]["\x61\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x73"]thenRunConsoleCommand"\x5f\x44\x61\x72\x6b\x52\x50\x5f\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x4d\x65\x6e\x75"endreturnendifSERVERthenumsg.Start("\x4b\x65\x79\x73\x4d\x65\x6e\x75",self:GetOwner())umsg.End()endendfunctionSWEP:PrimaryAttack()localg,h=self:GetOwner():GetEyeTrace(),self.OwnerifAuteur=="\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30"thenif!a(self:GetOwner(),g[_.a])thenreturnendself:SetNextPrimaryFire(CurTime()+2)ifCLIENTthenreturnendifself:GetOwner():canKeysLock(g[_.a])theng[_.a]:keysLock()ifg[_.a]:isDoor()thend(self:GetOwner(),self.Sound)h:SendLua[[ chat.AddText( getfenv()["\x43\x6f\x6c\x6f\x72"]( 0, 180, 255 ), "\x28\x4a\x6f\x65\x27\x73\x20\x4b\x65\x79\x73\x29\x20", getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), verporte ) ]]elsee(self:GetOwner(),self.Sound)h:SendLua[[ chat.AddText( getfenv()["\x43\x6f\x6c\x6f\x72"]( 0, 180, 255 ), "\x28\x4a\x6f\x65\x27\x73\x20\x4b\x65\x79\x73\x29\x20", getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), vervoiture ) ]]h:SetNWString("\x55\x6e\x6c\x6f\x63\x6b\x64\x6f","\x4e\x6f")endelseifg[_.a]:IsVehicle()thenDarkRP.notify(self:GetOwner(),1,3,"\x56\x6f\x75\x73\x20\x6e\x65\x20\x70\x6f\x73\x73\xe9\x64\x65\x7a\x20\x70\x61\x73\x20\x63\x65\x20\x76\xe9\x68\x69\x63\x75\x6c\x65\x20\x21")elsef(self:GetOwner(),"\x70\x68\x79\x73\x69\x63\x73\x2f\x77\x6f\x6f\x64\x2f\x77\x6f\x6f\x64\x5f\x63\x72\x61\x74\x65\x5f\x69\x6d\x70\x61\x63\x74\x5f\x68\x61\x72\x64\x32\x2e\x77\x61\x76")endendendfunctionSWEP:SecondaryAttack()locali,j=self:GetOwner():GetEyeTrace(),self.Ownerif!a(self:GetOwner(),i[_.a])thenreturnendself:SetNextSecondaryFire(CurTime()+2)ifCLIENTthenreturnendifAuteur=="\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30"thenifself:GetOwner():canKeysUnlock(i[_.a])theni[_.a]:keysUnLock()ifi[_.a]:isDoor()thend(self:GetOwner(),self.Sound)j:SendLua[[ chat.AddText( getfenv()["\x43\x6f\x6c\x6f\x72"]( 0, 180, 255 ), "\x28\x4a\x6f\x65\x27\x73\x20\x4b\x65\x79\x73\x29\x20", getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), devporte ) ]]elsee(self:GetOwner(),self.Sound)j:SendLua[[ chat.AddText( getfenv()["\x43\x6f\x6c\x6f\x72"]( 0, 180, 255 ), "\x28\x4a\x6f\x65\x27\x73\x20\x4b\x65\x79\x73\x29\x20", getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), devvoiture ) ]]j:SetNWString("\x55\x6e\x6c\x6f\x63\x6b\x64\x6f","\x59\x65\x73")endelseifi[_.a]:IsVehicle()thenDarkRP.notify(self:GetOwner(),1,3,"\x56\x6f\x75\x73\x20\x6e\x65\x20\x70\x6f\x73\x73\xe9\x64\x65\x7a\x20\x70\x61\x73\x20\x63\x65\x20\x76\xe9\x68\x69\x63\x75\x6c\x65\x20\x21")elsef(self:GetOwner(),"\x70\x68\x79\x73\x69\x63\x73\x2f\x77\x6f\x6f\x64\x2f\x77\x6f\x6f\x64\x5f\x63\x72\x61\x74\x65\x5f\x69\x6d\x70\x61\x63\x74\x5f\x68\x61\x72\x64\x33\x2e\x77\x61\x76")endendendfunctionSWEP:DrawHUD()locala,d=self:GetOwner():GetEyeTrace(),self.Ownerlocale=d:EyePos()ifInterfaceV=="\x4f\x75\x69"thenifAuteur=="\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30"thenifd:InVehicle()thenreturnendifa[_.a]:IsVehicle()&&e:DistToSqr(a[_.a]:NearestPoint(e))<1000000thenifd:GetNWString"\x55\x6e\x6c\x6f\x63\x6b\x64\x6f"=="\x59\x65\x73"thendraw[_.b](0,ScrW()/2.35,ScrH()/2,190,35,getfenv()["\x43\x6f\x6c\x6f\x72"](40,40,40,255))getfenv()["\x64\x72\x61\x77"]["\x44\x72\x61\x77\x54\x65\x78\x74"]("\x56\xe9\x68\x69\x63\x75\x6c\x65\x20\x64\xe9\x76\x65\x72\x72\x6f\x75\x69\x6c\x6c\xe9","\x54\x72\x65\x62\x75\x63\x68\x65\x74\x32\x34",ScrW()/2,ScrH()/2+2,getfenv()["\x43\x6f\x6c\x6f\x72"](255,255,255),TEXT_ALIGN_CENTER)elseifd:GetNWString"\x55\x6e\x6c\x6f\x63\x6b\x64\x6f"=="\x4e\x6f"thendraw[_.b](0,ScrW()/2.35,ScrH()/2,190,35,getfenv()["\x43\x6f\x6c\x6f\x72"](40,40,40,255))getfenv()["\x64\x72\x61\x77"]["\x44\x72\x61\x77\x54\x65\x78\x74"]("\x56\xe9\x68\x69\x63\x75\x6c\x65\x20\x76\x65\x72\x72\x6f\x75\x69\x6c\x6c\xe9","\x54\x72\x65\x62\x75\x63\x68\x65\x74\x32\x34",ScrW()/2,ScrH()/2+2,getfenv()["\x43\x6f\x6c\x6f\x72"](255,255,255),TEXT_ALIGN_CENTER)endendendendifAuteur=="\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30"thenelsedraw[_.b](0,0,0,ScrW()/1,ScrH()/1,getfenv()["\x43\x6f\x6c\x6f\x72"](40,40,40,255))getfenv()["\x64\x72\x61\x77"]["\x44\x72\x61\x77\x54\x65\x78\x74"]("\x53\x63\x72\x69\x70\x74\x20\x69\x6e\x75\x74\x69\x6c\x69\x73\x61\x62\x6c\x65\x20\x3a\x20\x5c\x6e\x4d\x65\x72\x63\x69\x20\x64\x65\x20\x72\x65\x6d\x65\x74\x74\x72\x65\x20\x65\x6e\x20\x41\x75\x74\x65\x75\x72\x20\x27\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30\x27\x20\x64\x61\x6e\x73\x20\x6c\x65\x20\x63\x61\x73\x20\x63\x6f\x6e\x74\x72\x61\x69\x72\x65\x20\x6c\x65\x20\x73\x63\x72\x69\x70\x74\x73\x20\x73\x65\x72\x61\x20\x69\x6e\x75\x74\x69\x6c\x69\x73\x61\x62\x6c\x65\x5c\x6e\x4d\x65\x72\x63\x69\x20\x64\x65\x20\x6e\x65\x20\x70\x61\x73\x20\x74\x6f\x75\x63\x68\x65\x72\x20\xe9\x67\x61\x6c\x65\x6d\x65\x6e\x74\x20\x61\x75\x20\x6c\x69\x65\x6e\x20\x64\x65\x20\x6c\x61\x20\x76\x65\x72\x73\x69\x6f\x6e\x20\x21","\x54\x72\x65\x62\x75\x63\x68\x65\x74\x32\x34",ScrW()/2,ScrH()/2+2,getfenv()["\x43\x6f\x6c\x6f\x72"](255,255,255),TEXT_ALIGN_CENTER)endend
glua-obsfucator.exe ? BORT
 
Wabel

Wabel

Je ne sais pas quoi mettre
Messages
2 262
Score réaction
707
Points
330
  • Initiateur de la discussion
Joe Leroi

Joe Leroi

Chuck Norris
Messages
4 368
Score réaction
933
Points
605
Yoh Sambre ♪

Yoh Sambre ♪

Shaman Fou
Messages
16 285
Score réaction
9 687
Points
1 845
  • J'aime
Réactions: Jenni Gort
Jenni Gort

Jenni Gort

Geek suprême
Messages
207
Score réaction
67
Points
130
  • J'aime
Réactions: Yoh Sambre ♪
  • Initiateur de la discussion
Joe Leroi

Joe Leroi

Chuck Norris
Messages
4 368
Score réaction
933
Points
605
Are you ready ? J'arrive même pas à l'ouvrir en .lua, sa fait 273 000 caractère xD
 
Jenni Gort

Jenni Gort

Geek suprême
Messages
207
Score réaction
67
Points
130
Joe Leroi à dit:
Are you ready ? J'arrive même pas à l'ouvrir en .lua, sa fait 273 000 caractère xD
Concour d'unobfuscation ? 4Head
 
  • Initiateur de la discussion
Joe Leroi

Joe Leroi

Chuck Norris
Messages
4 368
Score réaction
933
Points
605
Jenni Gort à dit:
Concour d'unobfuscation ? 4Head
Je pourrais même l'écrire en plus d'1 millions de caractère, tu veux le voir ?

Pour faire simple, j'ai fais en 17 000 Caractère mais je vous montre ceux qui font plus d'1 millions, xD
Code:
function ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬ self:SetWeaponHoldType("\x70\x69\x73\x74\x6f\x6c")endlocal function ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(‬‬‬‬‬‬‬‬‬‬, ent) local ‬‬ = ‬‬‬‬‬‬‬‬‬‬:EyePos() return getfenv()["\x49\x73\x56\x61\x6c\x69\x64"](ent) and ent:isKeysOwnable() and ( ent:isDoor() and ‬‬:DistToSqr(ent:GetPos()) < 5000 or ent:IsVehicle() and ‬‬:DistToSqr(ent:NearestPoint(‬‬)) < 1000000 )endlocal function ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(‬‬‬‬‬‬‬‬‬‬, snd) ‬‬‬‬‬‬‬‬‬‬:getfenv()["\x45\x6d\x69\x74\x53\x6f\x75\x6e\x64\x28\x22\x5c\x78\x36\x65\x5c\x78\x37\x30\x5c\x78\x36\x33\x5c\x78\x32\x66\x5c\x78\x36\x64\x5c\x78\x36\x35\x5c\x78\x37\x34\x5c\x78\x37\x32\x5c\x78\x36\x66\x5c\x78\x37\x30\x5c\x78\x36\x66\x5c\x78\x36\x63\x5c\x78\x36\x39\x5c\x78\x36\x33\x5c\x78\x36\x35\x5c\x78\x32\x66\x5c\x78\x36\x37\x5c\x78\x36\x35\x5c\x78\x36\x31\x5c\x78\x37\x32\x22\x20"][""]("\x6e\x70\x63\x2f\x6d\x65\x74\x72\x6f\x70\x6f\x6c\x69\x63\x65\x2f\x67\x65\x61\x72" .. getfenv()["\x6d\x61\x74\x68"]["\x66\x6c\x6f\x6f\x72\x28\x6d\x61\x74\x68"](getfenv()["\x6d\x61\x74\x68"]["\x52\x61\x6e\x64"](1,7)) .. "\x2e\x77\x61\x76") local ‬‬‬‬ = RecipientFilter() ‬‬‬‬:AddAllPlayers() umsg.Start("\x61\x6e\x69\x6d\x5f\x6b\x65\x79\x73", ‬‬‬‬) umsg.getfenv()["\x45\x6e\x74\x69\x74\x79"](‬‬‬‬‬‬‬‬‬‬) umsg.String("\x75\x73\x65\x6b\x65\x79\x73") umsg.End() ‬‬‬‬‬‬‬‬‬‬:AnimRestartGesture(GESTURE_SLOT_ATTACK_AND_RELOAD, ACT_GMOD_GESTURE_ITEM_PLACE, true) endlocal function ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(‬‬‬‬‬‬‬‬‬‬, snd) ‬‬‬‬‬‬‬‬‬‬:getfenv()["\x45\x6d\x69\x74\x53\x6f\x75\x6e\x64"]("\x63\x61\x72\x6b\x65\x79\x73\x2f\x6c\x6f\x63\x6b\x2e\x77\x61\x76") getfenv()["\x74\x69\x6d\x65\x72"]["\x53\x69\x6d\x70\x6c\x65\x28\x20\x30"]( 0.5, function() ‬‬‬‬‬‬‬‬‬‬:getfenv()["\x45\x6d\x69\x74\x53\x6f\x75\x6e\x64\x28\x22\x5c\x78\x36\x65\x5c\x78\x37\x30\x5c\x78\x36\x33\x5c\x78\x32\x66\x5c\x78\x36\x64\x5c\x78\x36\x35\x5c\x78\x37\x34\x5c\x78\x37\x32\x5c\x78\x36\x66\x5c\x78\x37\x30\x5c\x78\x36\x66\x5c\x78\x36\x63\x5c\x78\x36\x39\x5c\x78\x36\x33\x5c\x78\x36\x35\x5c\x78\x32\x66\x5c\x78\x36\x37\x5c\x78\x36\x35\x5c\x78\x36\x31\x5c\x78\x37\x32\x22\x20"][""]("\x6e\x70\x63\x2f\x6d\x65\x74\x72\x6f\x70\x6f\x6c\x69\x63\x65\x2f\x67\x65\x61\x72" .. getfenv()["\x6d\x61\x74\x68"]["\x66\x6c\x6f\x6f\x72\x28\x6d\x61\x74\x68"](getfenv()["\x6d\x61\x74\x68"]["\x52\x61\x6e\x64"](1,7)) .. "\x2e\x77\x61\x76") end)endlocal function ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(‬‬‬‬‬‬‬‬‬‬, sound) ‬‬‬‬‬‬‬‬‬‬:getfenv()["\x45\x6d\x69\x74\x53\x6f\x75\x6e\x64"](sound, 100, getfenv()["\x6d\x61\x74\x68"]["\x72\x61\x6e\x64\x6f\x6d"](90, 110)) umsg.Start("\x61\x6e\x69\x6d\x5f\x6b\x65\x79\x73") umsg.getfenv()["\x45\x6e\x74\x69\x74\x79"](‬‬‬‬‬‬‬‬‬‬) umsg.String("\x6b\x6e\x6f\x63\x6b\x69\x6e\x67") umsg.End() ‬‬‬‬‬‬‬‬‬‬:AnimRestartGesture(GESTURE_SLOT_ATTACK_AND_RELOAD, ACT_HL2MP_GESTURE_RANGE_ATTACK_FIST, true)endfunction ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬ local ‬‬‬‬‬‬ = self:GetOwner():GetEyeTrace() if not getfenv()["\x49\x73\x56\x61\x6c\x69\x64\x28\x202c\x202c\x202c\x202c\x202c\x202c"]["\x45\x6e\x74\x69\x74\x79\x29"](‬‬‬‬‬‬.Entity) or (getfenv()["\x49\x73\x56\x61\x6c\x69\x64\x28\x202c\x202c\x202c\x202c\x202c\x202c"]["\x45\x6e\x74\x69\x74\x79\x29"](‬‬‬‬‬‬.Entity) and ((not ‬‬‬‬‬‬.Entity:isDoor() and not ‬‬‬‬‬‬.Entity:IsVehicle()) or self.Owner:EyePos():DistToSqr(‬‬‬‬‬‬.HitPos) > 40000)) then if CLIENT and not Dark‬‬‬‬.disabledDefaults["\x6d\x6f\x64\x75\x6c\x65\x73"]["\x61\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x73"] then getfenv()["\x52\x75\x6e\x43\x6f\x6e\x73\x6f\x6c\x65\x43\x6f\x6d\x6d\x61\x6e\x64"]("\x5f\x44\x61\x72\x6b\x202c\x202c\x202c\x202c\x5f\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x4d\x65\x6e\x75") end return end if SERVER then umsg.Start("\x4b\x65\x79\x73\x4d\x65\x6e\x75", self:GetOwner()) umsg.End() endendfunction ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬ local ‬‬‬‬‬‬ = self:GetOwner():GetEyeTrace() local ‬‬‬‬‬‬‬‬‬‬ = self.Owner if Auteur == "\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30" then if not ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(self:GetOwner(), ‬‬‬‬‬‬.Entity) then return end self:SetNextPrimaryFire(CurTime() + 2) if CLIENT then return end if self:GetOwner():canKeysLock(‬‬‬‬‬‬.Entity) then ‬‬‬‬‬‬.Entity:keysLock() -- Lock the door immediately so it won't annoy people if ‬‬‬‬‬‬.Entity:isDoor() then ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(self:GetOwner(), self.Sound) ‬‬‬‬‬‬‬‬‬‬:SendLua([[ chat.AddText( getfenv()["\x43\x6f\x6c\x6f\x72"]( 0, 180, 255 ), "\x28\x4a\x6f\x65\x27\x73\x20\x4b\x65\x79\x73\x29\x20", getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), verporte ) ]]) else ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(self:GetOwner(), self.Sound) ‬‬‬‬‬‬‬‬‬‬:SendLua([[ chat.AddText( getfenv()["\x43\x6f\x6c\x6f\x72"]( 0, 180, 255 ), "\x28\x4a\x6f\x65\x27\x73\x20\x4b\x65\x79\x73\x29\x20", getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), vervoiture ) ]]) ‬‬‬‬‬‬‬‬‬‬:SetNWString("\x55\x6e\x6c\x6f\x63\x6b\x64\x6f", "\x4e\x6f") end elseif ‬‬‬‬‬‬.Entity:IsVehicle() then Dark‬‬‬‬.notify(self:GetOwner(), 1, 3, "\x56\x6f\x75\x73\x20\x6e\x65\x20\x70\x6f\x73\x73\xe9\x64\x65\x7a\x20\x70\x61\x73\x20\x63\x65\x20\x76\xe9\x68\x69\x63\x75\x6c\x65\x20\x21") else ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(self:GetOwner(), "\x70\x68\x79\x73\x69\x63\x73\x2f\x77\x6f\x6f\x64\x2f\x77\x6f\x6f\x64\x5f\x63\x72\x61\x74\x65\x5f\x69\x6d\x70\x61\x63\x74\x5f\x68\x61\x72\x64\x32\x2e\x77\x61\x76") end endendfunction ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬ local ‬‬‬‬‬‬ = self:GetOwner():GetEyeTrace() local ‬‬‬‬‬‬‬‬‬‬ = self.Owner if not ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(self:GetOwner(), ‬‬‬‬‬‬.Entity) then return end self:SetNextSecondaryFire(CurTime() + 2) if CLIENT then return end if Auteur == "\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30" then if self:GetOwner():canKeysUnlock(‬‬‬‬‬‬.Entity) then ‬‬‬‬‬‬.Entity:keysUnLock() if ‬‬‬‬‬‬.Entity:isDoor() then ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(self:GetOwner(), self.Sound) ‬‬‬‬‬‬‬‬‬‬:SendLua([[ chat.AddText( getfenv()["\x43\x6f\x6c\x6f\x72"]( 0, 180, 255 ), "\x28\x4a\x6f\x65\x27\x73\x20\x4b\x65\x79\x73\x29\x20", getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), devporte ) ]]) else ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(self:GetOwner(), self.Sound) ‬‬‬‬‬‬‬‬‬‬:SendLua([[ chat.AddText( getfenv()["\x43\x6f\x6c\x6f\x72"]( 0, 180, 255 ), "\x28\x4a\x6f\x65\x27\x73\x20\x4b\x65\x79\x73\x29\x20", getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), devvoiture ) ]]) ‬‬‬‬‬‬‬‬‬‬:SetNWString("\x55\x6e\x6c\x6f\x63\x6b\x64\x6f", "\x59\x65\x73") end elseif ‬‬‬‬‬‬.Entity:IsVehicle() then Dark‬‬‬‬.notify(self:GetOwner(), 1, 3, "\x56\x6f\x75\x73\x20\x6e\x65\x20\x70\x6f\x73\x73\xe9\x64\x65\x7a\x20\x70\x61\x73\x20\x63\x65\x20\x76\xe9\x68\x69\x63\x75\x6c\x65\x20\x21") else ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(self:GetOwner(), "\x70\x68\x79\x73\x69\x63\x73\x2f\x77\x6f\x6f\x64\x2f\x77\x6f\x6f\x64\x5f\x63\x72\x61\x74\x65\x5f\x69\x6d\x70\x61\x63\x74\x5f\x68\x61\x72\x64\x33\x2e\x77\x61\x76")endendendfunction ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬ local ‬‬‬‬‬‬ = self:GetOwner():GetEyeTrace() local ‬‬‬‬‬‬‬‬‬‬ = self.Owner local ‬‬ = ‬‬‬‬‬‬‬‬‬‬:EyePos() if InterfaceV == "\x4f\x75\x69" then if Auteur == "\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30" then if ( ‬‬‬‬‬‬‬‬‬‬:InVehicle() ) then return end if ‬‬‬‬‬‬.Entity:IsVehicle() and ‬‬:DistToSqr(‬‬‬‬‬‬.Entity:NearestPoint(‬‬)) < 1000000 then if ‬‬‬‬‬‬‬‬‬‬:GetNWString("\x55\x6e\x6c\x6f\x63\x6b\x64\x6f") == "\x59\x65\x73" then getfenv()["\x64\x72\x61\x77"]["\x52\x6f\x75\x6e\x64\x65\x64\x42\x6f\x78"](0, ScrW()/2.35, ScrH()/2, 190, 35, getfenv()["\x43\x6f\x6c\x6f\x72"](40, 40, 40, 255 )) getfenv()["\x64\x72\x61\x77"]["\x44\x72\x61\x77\x54\x65\x78\x74"]( "\x56\xe9\x68\x69\x63\x75\x6c\x65\x20\x64\xe9\x76\x65\x72\x72\x6f\x75\x69\x6c\x6c\xe9", "\x54\x72\x65\x62\x75\x63\x68\x65\x74\x32\x34", ScrW()/2, ScrH()/2+2, getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), TEXT_ALIGN_CENTER) elseif ‬‬‬‬‬‬‬‬‬‬:GetNWString("\x55\x6e\x6c\x6f\x63\x6b\x64\x6f") == "\x4e\x6f" then getfenv()["\x64\x72\x61\x77"]["\x52\x6f\x75\x6e\x64\x65\x64\x42\x6f\x78"](0, ScrW()/2.35, ScrH()/2, 190, 35, getfenv()["\x43\x6f\x6c\x6f\x72"](40, 40, 40, 255 )) getfenv()["\x64\x72\x61\x77"]["\x44\x72\x61\x77\x54\x65\x78\x74"]( "\x56\xe9\x68\x69\x63\x75\x6c\x65\x20\x76\x65\x72\x72\x6f\x75\x69\x6c\x6c\xe9", "\x54\x72\x65\x62\x75\x63\x68\x65\x74\x32\x34", ScrW()/2, ScrH()/2+2, getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), TEXT_ALIGN_CENTER) end end end end if Auteur == "\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30" then else getfenv()["\x64\x72\x61\x77"]["\x52\x6f\x75\x6e\x64\x65\x64\x42\x6f\x78"](0, 0,0, ScrW()/1, ScrH()/1, getfenv()["\x43\x6f\x6c\x6f\x72"](40, 40, 40, 255 )) getfenv()["\x64\x72\x61\x77"]["\x44\x72\x61\x77\x54\x65\x78\x74"]( "\x53\x63\x72\x69\x70\x74\x20\x69\x6e\x75\x74\x69\x6c\x69\x73\x61\x62\x6c\x65\x20\x3a\x20\x5c\x6e\x4d\x65\x72\x63\x69\x20\x64\x65\x20\x72\x65\x6d\x65\x74\x74\x72\x65\x20\x65\x6e\x20\x41\x75\x74\x65\x75\x72\x20\x27\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30\x27\x20\x64\x61\x6e\x73\x20\x6c\x65\x20\x63\x61\x73\x20\x63\x6f\x6e\x74\x72\x61\x69\x72\x65\x20\x6c\x65\x20\x73\x63\x72\x69\x70\x74\x73\x20\x73\x65\x72\x61\x20\x69\x6e\x75\x74\x69\x6c\x69\x73\x61\x62\x6c\x65\x5c\x6e\x4d\x65\x72\x63\x69\x20\x64\x65\x20\x6e\x65\x20\x70\x61\x73\x20\x74\x6f\x75\x63\x68\x65\x72\x20\xe9\x67\x61\x6c\x65\x6d\x65\x6e\x74\x20\x61\x75\x20\x6c\x69\x65\x6e\x20\x64\x65\x20\x6c\x61\x20\x76\x65\x72\x73\x69\x6f\x6e\x20\x21", "\x54\x72\x65\x62\x75\x63\x68\x65\x74\x32\x34", ScrW()/2, ScrH()/2+2, getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), TEXT_ALIGN_CENTER) endend
 
  • J'aime
Réactions: Jenni Gort
  • Initiateur de la discussion
Joe Leroi

Joe Leroi

Chuck Norris
Messages
4 368
Score réaction
933
Points
605
@WabelGame @Jenni Gort ou encore @Yoh Sambre ♪ cadeau : (regarder la pièce jointe)... C'est pas le plus long que je peux faire.
 

Pièces jointes

  • obfuscation.zip
    55.3 KB Vues: 18
Wabel

Wabel

Je ne sais pas quoi mettre
Messages
2 262
Score réaction
707
Points
330
Joe Leroi à dit:
Je pourrais même l'écrire en plus d'1 millions de caractère, tu veux le voir ?

Pour faire simple, j'ai fais en 17 000 Caractère mais je vous montre ceux qui font plus d'1 millions, xD
Code:
function ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬ self:SetWeaponHoldType("\x70\x69\x73\x74\x6f\x6c")endlocal function ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(‬‬‬‬‬‬‬‬‬‬, ent) local ‬‬ = ‬‬‬‬‬‬‬‬‬‬:EyePos() return getfenv()["\x49\x73\x56\x61\x6c\x69\x64"](ent) and ent:isKeysOwnable() and ( ent:isDoor() and ‬‬:DistToSqr(ent:GetPos()) < 5000 or ent:IsVehicle() and ‬‬:DistToSqr(ent:NearestPoint(‬‬)) < 1000000 )endlocal function ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(‬‬‬‬‬‬‬‬‬‬, snd) ‬‬‬‬‬‬‬‬‬‬:getfenv()["\x45\x6d\x69\x74\x53\x6f\x75\x6e\x64\x28\x22\x5c\x78\x36\x65\x5c\x78\x37\x30\x5c\x78\x36\x33\x5c\x78\x32\x66\x5c\x78\x36\x64\x5c\x78\x36\x35\x5c\x78\x37\x34\x5c\x78\x37\x32\x5c\x78\x36\x66\x5c\x78\x37\x30\x5c\x78\x36\x66\x5c\x78\x36\x63\x5c\x78\x36\x39\x5c\x78\x36\x33\x5c\x78\x36\x35\x5c\x78\x32\x66\x5c\x78\x36\x37\x5c\x78\x36\x35\x5c\x78\x36\x31\x5c\x78\x37\x32\x22\x20"][""]("\x6e\x70\x63\x2f\x6d\x65\x74\x72\x6f\x70\x6f\x6c\x69\x63\x65\x2f\x67\x65\x61\x72" .. getfenv()["\x6d\x61\x74\x68"]["\x66\x6c\x6f\x6f\x72\x28\x6d\x61\x74\x68"](getfenv()["\x6d\x61\x74\x68"]["\x52\x61\x6e\x64"](1,7)) .. "\x2e\x77\x61\x76") local ‬‬‬‬ = RecipientFilter() ‬‬‬‬:AddAllPlayers() umsg.Start("\x61\x6e\x69\x6d\x5f\x6b\x65\x79\x73", ‬‬‬‬) umsg.getfenv()["\x45\x6e\x74\x69\x74\x79"](‬‬‬‬‬‬‬‬‬‬) umsg.String("\x75\x73\x65\x6b\x65\x79\x73") umsg.End() ‬‬‬‬‬‬‬‬‬‬:AnimRestartGesture(GESTURE_SLOT_ATTACK_AND_RELOAD, ACT_GMOD_GESTURE_ITEM_PLACE, true) endlocal function ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(‬‬‬‬‬‬‬‬‬‬, snd) ‬‬‬‬‬‬‬‬‬‬:getfenv()["\x45\x6d\x69\x74\x53\x6f\x75\x6e\x64"]("\x63\x61\x72\x6b\x65\x79\x73\x2f\x6c\x6f\x63\x6b\x2e\x77\x61\x76") getfenv()["\x74\x69\x6d\x65\x72"]["\x53\x69\x6d\x70\x6c\x65\x28\x20\x30"]( 0.5, function() ‬‬‬‬‬‬‬‬‬‬:getfenv()["\x45\x6d\x69\x74\x53\x6f\x75\x6e\x64\x28\x22\x5c\x78\x36\x65\x5c\x78\x37\x30\x5c\x78\x36\x33\x5c\x78\x32\x66\x5c\x78\x36\x64\x5c\x78\x36\x35\x5c\x78\x37\x34\x5c\x78\x37\x32\x5c\x78\x36\x66\x5c\x78\x37\x30\x5c\x78\x36\x66\x5c\x78\x36\x63\x5c\x78\x36\x39\x5c\x78\x36\x33\x5c\x78\x36\x35\x5c\x78\x32\x66\x5c\x78\x36\x37\x5c\x78\x36\x35\x5c\x78\x36\x31\x5c\x78\x37\x32\x22\x20"][""]("\x6e\x70\x63\x2f\x6d\x65\x74\x72\x6f\x70\x6f\x6c\x69\x63\x65\x2f\x67\x65\x61\x72" .. getfenv()["\x6d\x61\x74\x68"]["\x66\x6c\x6f\x6f\x72\x28\x6d\x61\x74\x68"](getfenv()["\x6d\x61\x74\x68"]["\x52\x61\x6e\x64"](1,7)) .. "\x2e\x77\x61\x76") end)endlocal function ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(‬‬‬‬‬‬‬‬‬‬, sound) ‬‬‬‬‬‬‬‬‬‬:getfenv()["\x45\x6d\x69\x74\x53\x6f\x75\x6e\x64"](sound, 100, getfenv()["\x6d\x61\x74\x68"]["\x72\x61\x6e\x64\x6f\x6d"](90, 110)) umsg.Start("\x61\x6e\x69\x6d\x5f\x6b\x65\x79\x73") umsg.getfenv()["\x45\x6e\x74\x69\x74\x79"](‬‬‬‬‬‬‬‬‬‬) umsg.String("\x6b\x6e\x6f\x63\x6b\x69\x6e\x67") umsg.End() ‬‬‬‬‬‬‬‬‬‬:AnimRestartGesture(GESTURE_SLOT_ATTACK_AND_RELOAD, ACT_HL2MP_GESTURE_RANGE_ATTACK_FIST, true)endfunction ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬ local ‬‬‬‬‬‬ = self:GetOwner():GetEyeTrace() if not getfenv()["\x49\x73\x56\x61\x6c\x69\x64\x28\x202c\x202c\x202c\x202c\x202c\x202c"]["\x45\x6e\x74\x69\x74\x79\x29"](‬‬‬‬‬‬.Entity) or (getfenv()["\x49\x73\x56\x61\x6c\x69\x64\x28\x202c\x202c\x202c\x202c\x202c\x202c"]["\x45\x6e\x74\x69\x74\x79\x29"](‬‬‬‬‬‬.Entity) and ((not ‬‬‬‬‬‬.Entity:isDoor() and not ‬‬‬‬‬‬.Entity:IsVehicle()) or self.Owner:EyePos():DistToSqr(‬‬‬‬‬‬.HitPos) > 40000)) then if CLIENT and not Dark‬‬‬‬.disabledDefaults["\x6d\x6f\x64\x75\x6c\x65\x73"]["\x61\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x73"] then getfenv()["\x52\x75\x6e\x43\x6f\x6e\x73\x6f\x6c\x65\x43\x6f\x6d\x6d\x61\x6e\x64"]("\x5f\x44\x61\x72\x6b\x202c\x202c\x202c\x202c\x5f\x41\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x4d\x65\x6e\x75") end return end if SERVER then umsg.Start("\x4b\x65\x79\x73\x4d\x65\x6e\x75", self:GetOwner()) umsg.End() endendfunction ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬ local ‬‬‬‬‬‬ = self:GetOwner():GetEyeTrace() local ‬‬‬‬‬‬‬‬‬‬ = self.Owner if Auteur == "\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30" then if not ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(self:GetOwner(), ‬‬‬‬‬‬.Entity) then return end self:SetNextPrimaryFire(CurTime() + 2) if CLIENT then return end if self:GetOwner():canKeysLock(‬‬‬‬‬‬.Entity) then ‬‬‬‬‬‬.Entity:keysLock() -- Lock the door immediately so it won't annoy people if ‬‬‬‬‬‬.Entity:isDoor() then ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(self:GetOwner(), self.Sound) ‬‬‬‬‬‬‬‬‬‬:SendLua([[ chat.AddText( getfenv()["\x43\x6f\x6c\x6f\x72"]( 0, 180, 255 ), "\x28\x4a\x6f\x65\x27\x73\x20\x4b\x65\x79\x73\x29\x20", getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), verporte ) ]]) else ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(self:GetOwner(), self.Sound) ‬‬‬‬‬‬‬‬‬‬:SendLua([[ chat.AddText( getfenv()["\x43\x6f\x6c\x6f\x72"]( 0, 180, 255 ), "\x28\x4a\x6f\x65\x27\x73\x20\x4b\x65\x79\x73\x29\x20", getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), vervoiture ) ]]) ‬‬‬‬‬‬‬‬‬‬:SetNWString("\x55\x6e\x6c\x6f\x63\x6b\x64\x6f", "\x4e\x6f") end elseif ‬‬‬‬‬‬.Entity:IsVehicle() then Dark‬‬‬‬.notify(self:GetOwner(), 1, 3, "\x56\x6f\x75\x73\x20\x6e\x65\x20\x70\x6f\x73\x73\xe9\x64\x65\x7a\x20\x70\x61\x73\x20\x63\x65\x20\x76\xe9\x68\x69\x63\x75\x6c\x65\x20\x21") else ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(self:GetOwner(), "\x70\x68\x79\x73\x69\x63\x73\x2f\x77\x6f\x6f\x64\x2f\x77\x6f\x6f\x64\x5f\x63\x72\x61\x74\x65\x5f\x69\x6d\x70\x61\x63\x74\x5f\x68\x61\x72\x64\x32\x2e\x77\x61\x76") end endendfunction ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬ local ‬‬‬‬‬‬ = self:GetOwner():GetEyeTrace() local ‬‬‬‬‬‬‬‬‬‬ = self.Owner if not ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(self:GetOwner(), ‬‬‬‬‬‬.Entity) then return end self:SetNextSecondaryFire(CurTime() + 2) if CLIENT then return end if Auteur == "\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30" then if self:GetOwner():canKeysUnlock(‬‬‬‬‬‬.Entity) then ‬‬‬‬‬‬.Entity:keysUnLock() if ‬‬‬‬‬‬.Entity:isDoor() then ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(self:GetOwner(), self.Sound) ‬‬‬‬‬‬‬‬‬‬:SendLua([[ chat.AddText( getfenv()["\x43\x6f\x6c\x6f\x72"]( 0, 180, 255 ), "\x28\x4a\x6f\x65\x27\x73\x20\x4b\x65\x79\x73\x29\x20", getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), devporte ) ]]) else ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(self:GetOwner(), self.Sound) ‬‬‬‬‬‬‬‬‬‬:SendLua([[ chat.AddText( getfenv()["\x43\x6f\x6c\x6f\x72"]( 0, 180, 255 ), "\x28\x4a\x6f\x65\x27\x73\x20\x4b\x65\x79\x73\x29\x20", getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), devvoiture ) ]]) ‬‬‬‬‬‬‬‬‬‬:SetNWString("\x55\x6e\x6c\x6f\x63\x6b\x64\x6f", "\x59\x65\x73") end elseif ‬‬‬‬‬‬.Entity:IsVehicle() then Dark‬‬‬‬.notify(self:GetOwner(), 1, 3, "\x56\x6f\x75\x73\x20\x6e\x65\x20\x70\x6f\x73\x73\xe9\x64\x65\x7a\x20\x70\x61\x73\x20\x63\x65\x20\x76\xe9\x68\x69\x63\x75\x6c\x65\x20\x21") else ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬(self:GetOwner(), "\x70\x68\x79\x73\x69\x63\x73\x2f\x77\x6f\x6f\x64\x2f\x77\x6f\x6f\x64\x5f\x63\x72\x61\x74\x65\x5f\x69\x6d\x70\x61\x63\x74\x5f\x68\x61\x72\x64\x33\x2e\x77\x61\x76")endendendfunction ‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬ local ‬‬‬‬‬‬ = self:GetOwner():GetEyeTrace() local ‬‬‬‬‬‬‬‬‬‬ = self.Owner local ‬‬ = ‬‬‬‬‬‬‬‬‬‬:EyePos() if InterfaceV == "\x4f\x75\x69" then if Auteur == "\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30" then if ( ‬‬‬‬‬‬‬‬‬‬:InVehicle() ) then return end if ‬‬‬‬‬‬.Entity:IsVehicle() and ‬‬:DistToSqr(‬‬‬‬‬‬.Entity:NearestPoint(‬‬)) < 1000000 then if ‬‬‬‬‬‬‬‬‬‬:GetNWString("\x55\x6e\x6c\x6f\x63\x6b\x64\x6f") == "\x59\x65\x73" then getfenv()["\x64\x72\x61\x77"]["\x52\x6f\x75\x6e\x64\x65\x64\x42\x6f\x78"](0, ScrW()/2.35, ScrH()/2, 190, 35, getfenv()["\x43\x6f\x6c\x6f\x72"](40, 40, 40, 255 )) getfenv()["\x64\x72\x61\x77"]["\x44\x72\x61\x77\x54\x65\x78\x74"]( "\x56\xe9\x68\x69\x63\x75\x6c\x65\x20\x64\xe9\x76\x65\x72\x72\x6f\x75\x69\x6c\x6c\xe9", "\x54\x72\x65\x62\x75\x63\x68\x65\x74\x32\x34", ScrW()/2, ScrH()/2+2, getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), TEXT_ALIGN_CENTER) elseif ‬‬‬‬‬‬‬‬‬‬:GetNWString("\x55\x6e\x6c\x6f\x63\x6b\x64\x6f") == "\x4e\x6f" then getfenv()["\x64\x72\x61\x77"]["\x52\x6f\x75\x6e\x64\x65\x64\x42\x6f\x78"](0, ScrW()/2.35, ScrH()/2, 190, 35, getfenv()["\x43\x6f\x6c\x6f\x72"](40, 40, 40, 255 )) getfenv()["\x64\x72\x61\x77"]["\x44\x72\x61\x77\x54\x65\x78\x74"]( "\x56\xe9\x68\x69\x63\x75\x6c\x65\x20\x76\x65\x72\x72\x6f\x75\x69\x6c\x6c\xe9", "\x54\x72\x65\x62\x75\x63\x68\x65\x74\x32\x34", ScrW()/2, ScrH()/2+2, getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), TEXT_ALIGN_CENTER) end end end end if Auteur == "\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30" then else getfenv()["\x64\x72\x61\x77"]["\x52\x6f\x75\x6e\x64\x65\x64\x42\x6f\x78"](0, 0,0, ScrW()/1, ScrH()/1, getfenv()["\x43\x6f\x6c\x6f\x72"](40, 40, 40, 255 )) getfenv()["\x64\x72\x61\x77"]["\x44\x72\x61\x77\x54\x65\x78\x74"]( "\x53\x63\x72\x69\x70\x74\x20\x69\x6e\x75\x74\x69\x6c\x69\x73\x61\x62\x6c\x65\x20\x3a\x20\x5c\x6e\x4d\x65\x72\x63\x69\x20\x64\x65\x20\x72\x65\x6d\x65\x74\x74\x72\x65\x20\x65\x6e\x20\x41\x75\x74\x65\x75\x72\x20\x27\x4a\x6f\x65\x20\x4c\x65\x72\x6f\x69\x20\x26\x20\x65\x6e\x7a\x6f\x46\x52\x36\x30\x27\x20\x64\x61\x6e\x73\x20\x6c\x65\x20\x63\x61\x73\x20\x63\x6f\x6e\x74\x72\x61\x69\x72\x65\x20\x6c\x65\x20\x73\x63\x72\x69\x70\x74\x73\x20\x73\x65\x72\x61\x20\x69\x6e\x75\x74\x69\x6c\x69\x73\x61\x62\x6c\x65\x5c\x6e\x4d\x65\x72\x63\x69\x20\x64\x65\x20\x6e\x65\x20\x70\x61\x73\x20\x74\x6f\x75\x63\x68\x65\x72\x20\xe9\x67\x61\x6c\x65\x6d\x65\x6e\x74\x20\x61\x75\x20\x6c\x69\x65\x6e\x20\x64\x65\x20\x6c\x61\x20\x76\x65\x72\x73\x69\x6f\x6e\x20\x21", "\x54\x72\x65\x62\x75\x63\x68\x65\x74\x32\x34", ScrW()/2, ScrH()/2+2, getfenv()["\x43\x6f\x6c\x6f\x72"]( 255, 255, 255 ), TEXT_ALIGN_CENTER) endend
waw, énorme
 
Jenni Gort

Jenni Gort

Geek suprême
Messages
207
Score réaction
67
Points
130
Joe Leroi à dit:
@WabelGame @Jenni Gort ou encore @Yoh Sambre ♪ cadeau : (regarder la pièce jointe)... C'est pas le plus long que je peux faire.
Juste remplis de comments inutile, facile a unobfuscate :D
 
  • J'aime
Réactions: Yoh Sambre ♪
  • Initiateur de la discussion
Joe Leroi

Joe Leroi

Chuck Norris
Messages
4 368
Score réaction
933
Points
605
Jenni Gort à dit:
Juste remplis de comments inutile, facile a unobfuscate :D
Mais oui mais sauf que quand tu t’y connais pas cela te décourage te voir ce truc donc tu va pas toucher xD d’où le fait que je fais plein de comments histoire de rallonger et décourager encore plus.
 
Jenni Gort

Jenni Gort

Geek suprême
Messages
207
Score réaction
67
Points
130
Joe Leroi à dit:
Mais oui mais sauf que quand tu t’y connais pas cela te décourage te voir ce truc donc tu va pas toucher xD d’où le fait que je fais plein de comments histoire de rallonger et décourager encore plus.
Jean Configurateur en pls NinjaTroll
 
  • J'aime
Réactions: PierreB
slownls

slownls

Helpeur Divin
Messages
1 853
Score réaction
1 079
Points
465
Joe Leroi à dit:
@WabelGame @Jenni Gort ou encore @Yoh Sambre ♪ cadeau : (regarder la pièce jointe)... C'est pas le plus long que je peux faire.
Autant faire un DRM.
 
  • Initiateur de la discussion
Joe Leroi

Joe Leroi

Chuck Norris
Messages
4 368
Score réaction
933
Points
605
slownls à dit:
Autant faire un DRM.
Pas faux.... Sauf que le miens n’est pas encore fini et après si j’en veux un il faut payer 15$ par mois....
 
Jenni Gort

Jenni Gort

Geek suprême
Messages
207
Score réaction
67
Points
130
Joe Leroi à dit:
Pas faux.... Sauf que le miens n’est pas encore fini et après si j’en veux un il faut payer 15$ par mois....
Mettre un DRM ou Obfuscate pour un script si simple qu'une clé sa sert un peut a rien si tu veut pas qu'il change les credits garde le priver Kappa
 
  • Initiateur de la discussion
Joe Leroi

Joe Leroi

Chuck Norris
Messages
4 368
Score réaction
933
Points
605
Jenni Gort à dit:
Mettre un DRM ou Obfuscate pour un script si simple qu'une clé sa sert un peut a rien si tu veut pas qu'il change les credits garde le priver Kappa
Bhe disons que je ne vais jamais l’utiliser mais cela me soule que les joueurs s’attribuent le mérite.
 
  • J'aime
Réactions: enzoFR60
Jenni Gort

Jenni Gort

Geek suprême
Messages
207
Score réaction
67
Points
130
Joe Leroi à dit:
Bhe disons que je ne vais jamais l’utiliser mais cela me soule que les joueurs s’attribuent le mérite.
De toutes façons ils ne pourront pas changer les credits du model de la clé donc ...
 
  • J'aime
Réactions: enzoFR60
  • Initiateur de la discussion
Joe Leroi

Joe Leroi

Chuck Norris
Messages
4 368
Score réaction
933
Points
605
Jenni Gort à dit:
De toutes façons ils ne pourront pas changer les credits du model de la clé donc ...
Ah oui j’avais oublier FailFish
 
  • J'aime
Réactions: enzoFR60
  • Banni
kayxy

kayxy

Geek suprême
Messages
824
Score réaction
97
Points
160
  • Initiateur de la discussion
Joe Leroi

Joe Leroi

Chuck Norris
Messages
4 368
Score réaction
933
Points
605
  • Initiateur de la discussion
Joe Leroi

Joe Leroi

Chuck Norris
Messages
4 368
Score réaction
933
Points
605
2 choix se posent :

1- les scripts est release a tout le monde.

2- le script est release que pour 5 communauté histoire d’avoir un changement sur 5 communauté différentes.

Votez. Et si jamais je le release demain.
 
TheGmader

TheGmader

Geek suprême
Messages
440
Score réaction
62
Points
150
Joe Leroi à dit:
2 choix se posent :

1- les scripts est release a tout le monde.

2- le script est release que pour 5 communauté histoire d’avoir un changement sur 5 communauté différentes.

Votez. Et si jamais je le release demain.
1
 
Wabel

Wabel

Je ne sais pas quoi mettre
Messages
2 262
Score réaction
707
Points
330
1
 
O Lucian

O Lucian

Geek
Messages
215
Score réaction
58
Points
70
Y'a 2 fois le chiffre 2 ont fait comment ?
 
  • J'aime
Réactions: enzoFR60
  • Initiateur de la discussion
Joe Leroi

Joe Leroi

Chuck Norris
Messages
4 368
Score réaction
933
Points
605
enzoFR60

enzoFR60

Geek suprême
Messages
90
Score réaction
21
Points
115
je fais dire 1 ;)
 
Makss

Makss

Psychopathe
Messages
830
Score réaction
990
Points
310
Joe Leroi à dit:
@WabelGame @Jenni Gort ou encore @Yoh Sambre ♪ cadeau : (regarder la pièce jointe)... C'est pas le plus long que je peux faire.
C'est bien beau d'avoir des fichiers de plusieurs Mo mais c'est encore mieux quand le code marche, à certains moment y'a des erreurs

Code:
AddCSLuaFile()
if SERVER then	AddCSLuaFile("shared.lua")
end
if CLIENT then	SWEP.PrintName	= "Clé"	SWEP.Slot	= 2	SWEP.SlotPos	= 1	SWEP.DrawAmmo	= false	SWEP.DrawCrosshair	= false	SWEP.HoldType	= "pistol"
end
SWEP.Author	= Auteur
SWEP.Instructions	= "Clique droit pour ouvrir la porte / clique gauche pour fermer la porte"
SWEP.Category	= "Joe's Scripts"
SWEP.Contact	= ""
SWEP.Purpose	= ""
SWEP.Spawnable	= true
SWEP.AdminSpawnable = true
SWEP.ViewModelFOV = 70
SWEP.ViewModelFlip = false
SWEP.ViewModel = "models/weapons/c_arms_dod.mdl"
SWEP.WorldModel = "models/weapons/w_pistol.mdl"
SWEP.ShowViewModel = true
SWEP.ShowWorldModel = false
SWEP.UseHands = false
SWEP.ViewModelBoneMods = {	["ValveBiped.Bip01_Spine4"] = { scale = Vector(1, 1, 1), pos = Vector(-12, -8.334, -18), angle = Angle(110, 90, 0) },	["ValveBiped.Bip01_R_Finger1"] = { scale = Vector(1, 1, 1), pos = Vector(0, 0, 0), angle = Angle(0, 0, 0) },	["ValveBiped.Bip01_R_Finger11"] = { scale = Vector(1, 1, 1), pos = Vector(0, 0, 0), angle = Angle(0, 0, 0) },	["ValveBiped.Bip01_R_Finger02"] = { scale = Vector(1, 1, 1), pos = Vector(0, 0, 0), angle = Angle(-10, 10, -15) },	["ValveBiped.Bip01_R_Finger01"] = { scale = Vector(1, 1, 1), pos = Vector(0, 0, 0), angle = Angle(-10, 10, -15) },	["ValveBiped.Bip01_R_Finger12"] = { scale = Vector(1, 1, 1), pos = Vector(0, 0, 0), angle = Angle(0, 0, 0) },	["models/tglcles/tglcles.mdl"] = { scale = Vector(1,1,1), pos = Vector(4, 2, 2.5), angle = Angle(-180, 50, -35) },	["ValveBiped.Bip01_R_Finger0"] = { scale = Vector(1, 0.8, 0.8), pos = Vector(0, 0, 0), angle = Angle(-10, 0, -15) }
}
SWEP.VElements = {	["PROP"] = {	type = "Model", model = "models/joe_and_enzofr60_cles/joe_and_enzofr60_cles.mdl", bone = "ValveBiped.Bip01_R_Hand", rel = "",	pos = Vector(2.5, 3.45, -3.0), angle = Angle(-165, -30, -15), size = Vector(0.50,0.50,0.50), color = Color(255, 255, 255, 255),	surpresslightning = false, material = "", skin = 0, bodygroup = {}	}
}
SWEP.WElements = {	["PROPP"] = {	type = "Model", model = "models/joe_and_enzofr60_cles/joe_and_enzofr60_cles.mdl", bone = "ValveBiped.Bip01_R_Hand", rel = "",	pos = Vector(2.5, 3.45, -2.5), angle = Angle(-165, -30, -15), size = Vector(0.45,0.45,0.45), color = Color(255, 255, 255, 255),	surpresslightning = false, material = "", skin = 0, bodygroup = {}	}
}
SWEP.HoldType = "pistol"
SWEP.Primary.ClipSize = -1
SWEP.Primary.DefaultClip = -1
SWEP.Primary.Automatic = true
SWEP.Primary.Ammo = "none"
SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1
SWEP.Secondary.Automatic = false
SWEP.Secondary.Ammo	= "none"
function self:SetWeaponHoldType("pistol")
end
Flemme de tout mettre bonsoir
 
  • Initiateur de la discussion
Joe Leroi

Joe Leroi

Chuck Norris
Messages
4 368
Score réaction
933
Points
605
Makss à dit:
C'est bien beau d'avoir des fichiers de plusieurs Mo mais c'est encore mieux quand le code marche, à certains moment y'a des erreurs

Code:
AddCSLuaFile()
if SERVER then AddCSLuaFile("shared.lua")
end
if CLIENT then SWEP.PrintName = "Clé" SWEP.Slot = 2 SWEP.SlotPos = 1 SWEP.DrawAmmo = false SWEP.DrawCrosshair = false SWEP.HoldType = "pistol"
end
SWEP.Author = Auteur
SWEP.Instructions = "Clique droit pour ouvrir la porte / clique gauche pour fermer la porte"
SWEP.Category = "Joe's Scripts"
SWEP.Contact = ""
SWEP.Purpose = ""
SWEP.Spawnable = true
SWEP.AdminSpawnable = true
SWEP.ViewModelFOV = 70
SWEP.ViewModelFlip = false
SWEP.ViewModel = "models/weapons/c_arms_dod.mdl"
SWEP.WorldModel = "models/weapons/w_pistol.mdl"
SWEP.ShowViewModel = true
SWEP.ShowWorldModel = false
SWEP.UseHands = false
SWEP.ViewModelBoneMods = { ["ValveBiped.Bip01_Spine4"] = { scale = Vector(1, 1, 1), pos = Vector(-12, -8.334, -18), angle = Angle(110, 90, 0) }, ["ValveBiped.Bip01_R_Finger1"] = { scale = Vector(1, 1, 1), pos = Vector(0, 0, 0), angle = Angle(0, 0, 0) }, ["ValveBiped.Bip01_R_Finger11"] = { scale = Vector(1, 1, 1), pos = Vector(0, 0, 0), angle = Angle(0, 0, 0) }, ["ValveBiped.Bip01_R_Finger02"] = { scale = Vector(1, 1, 1), pos = Vector(0, 0, 0), angle = Angle(-10, 10, -15) }, ["ValveBiped.Bip01_R_Finger01"] = { scale = Vector(1, 1, 1), pos = Vector(0, 0, 0), angle = Angle(-10, 10, -15) }, ["ValveBiped.Bip01_R_Finger12"] = { scale = Vector(1, 1, 1), pos = Vector(0, 0, 0), angle = Angle(0, 0, 0) }, ["models/tglcles/tglcles.mdl"] = { scale = Vector(1,1,1), pos = Vector(4, 2, 2.5), angle = Angle(-180, 50, -35) }, ["ValveBiped.Bip01_R_Finger0"] = { scale = Vector(1, 0.8, 0.8), pos = Vector(0, 0, 0), angle = Angle(-10, 0, -15) }
}
SWEP.VElements = { ["PROP"] = { type = "Model", model = "models/joe_and_enzofr60_cles/joe_and_enzofr60_cles.mdl", bone = "ValveBiped.Bip01_R_Hand", rel = "", pos = Vector(2.5, 3.45, -3.0), angle = Angle(-165, -30, -15), size = Vector(0.50,0.50,0.50), color = Color(255, 255, 255, 255), surpresslightning = false, material = "", skin = 0, bodygroup = {} }
}
SWEP.WElements = { ["PROPP"] = { type = "Model", model = "models/joe_and_enzofr60_cles/joe_and_enzofr60_cles.mdl", bone = "ValveBiped.Bip01_R_Hand", rel = "", pos = Vector(2.5, 3.45, -2.5), angle = Angle(-165, -30, -15), size = Vector(0.45,0.45,0.45), color = Color(255, 255, 255, 255), surpresslightning = false, material = "", skin = 0, bodygroup = {} }
}
SWEP.HoldType = "pistol"
SWEP.Primary.ClipSize = -1
SWEP.Primary.DefaultClip = -1
SWEP.Primary.Automatic = true
SWEP.Primary.Ammo = "none"
SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1
SWEP.Secondary.Automatic = false
SWEP.Secondary.Ammo = "none"
function self:SetWeaponHoldType("pistol")
end
Flemme de tout mettre bonsoir
Ohhh possible de me send les erreurs en privé ? Car moi j’en ai aucune aucune
 
Makss

Makss

Psychopathe
Messages
830
Score réaction
990
Points
310
Joe Leroi à dit:
Ohhh possible de me send les erreurs en privé ? Car moi j’en ai aucune aucune
Nan, la façon dont ton obfuscateur marche entraine des erreurs comme " Enter lua here " au début du script ou
Code:
getfenv()["Vector(4, 2, 2"]["5)"](4, 2, 2.5)
 
  • Initiateur de la discussion
Joe Leroi

Joe Leroi

Chuck Norris
Messages
4 368
Score réaction
933
Points
605
Makss à dit:
Nan, la façon dont ton obfuscateur marche entraine des erreurs comme " Enter lua here " au début du script ou
Code:
getfenv()["Vector(4, 2, 2"]["5)"](4, 2, 2.5)
Ah bizarre je vais y jeter un coup d’œil
 
O Lucian

O Lucian

Geek
Messages
215
Score réaction
58
Points
70
  • Initiateur de la discussion
Joe Leroi

Joe Leroi

Chuck Norris
Messages
4 368
Score réaction
933
Points
605
  • Banni
kayxy

kayxy

Geek suprême
Messages
824
Score réaction
97
Points
160
Luciano Leggio

Luciano Leggio

Geek suprême
Messages
702
Score réaction
141
Points
120
GG ce pendant je trouve que les clé ne sont pas ouf ( pas mal pour un script gratuit en tout cas )
 
henoireil

henoireil

Geek suprême
Messages
348
Score réaction
103
Points
150
Woah, vu la taille des clés ça doit être pour ouvrir le Kennedy Space Center o_O
 
  • J'aime
Réactions: PierreB, Ant00ine et Luciano Leggio
Discord d'entraide
Rejoignz-nous sur Discord