iampoy.blogg.se

Checking if gmameode is darkrp gmod
Checking if gmameode is darkrp gmod








checking if gmameode is darkrp gmod
  1. #Checking if gmameode is darkrp gmod mod#
  2. #Checking if gmameode is darkrp gmod download#

y or /yell - Yell out, your text appearing in a larger area. or /ooc - Out Of Character (Global Chat). Ecosystemīecause DarkRP is used so widely a lot of paid and non-paid addons support it unlike other Roleplay Gamemodes that are out there making it perfect for a quick plug and play server. Modifying the default DarkRP gamemode into other gamemodes is not recommended and you should use a different Roleplay Base designed to be modified or use the DarkRP Derived. GamemodesĭarkRP is expansive even beyond the DarkRP gamemode itself, people modify it into other Roleplay gamemodes such as the following. Modifying DarkRPs default settings is simplified by using an addon called DarkRP Modification created by FPtje to stop people from editing the core files and breaking stuff.

#Checking if gmameode is darkrp gmod mod#

WeaponName, nil, Color ( 255, 190, 0 ) ) 448 end 449 450 function GM : PlayerCanPickupWeapon ( ply, weapon ) 451 if ply : isArrested ( ) then return false end 452 if weapon.DarkRP is a non-serious roleplay gamemode developed by FPtje (Falco Peijnenburg) over the course of the last 8 years, over this time it has grown into one of, if not the biggest gamemode in all of Garry's Mod.ĭarkRP by default has an Administration Mod called FAdmin and a Prop Protection System called FPP (Falco's PP). " ) " 440 end 441 442 if killer = ply then 443 KillerName = " Himself " 444 WeaponName = " suicide trick " 445 end 446 447 DB.Log ( ply : SteamName ( ). ( weapon : GetModel ( ) or " unknown " ). ConfiscatedWeapons = nil 434 435 local KillerName = ( killer : IsPlayer ( ) and killer : Nick ( ) ) or tostring ( killer ) 436 437 local WeaponName = IsValid ( weapon ) and ( ( weapon : IsPlayer ( ) and IsValid ( weapon : GetActiveWeapon ( ) ) and weapon : GetActiveWeapon ( ) : GetClass ( ) ) or weapon : GetClass ( ) ) or " unknown " 438 if IsValid ( weapon ) and weapon : GetClass ( ) = " prop_physics " then 439 WeaponName = weapon : GetClass ( ). \n " ) 420 else 421 - Killed another player 422 killer.kills = killer.kills + 1 423 end 424 end 425 end 426 427 if IsValid ( ply ) and ( ply ~= killer or ply.Slayed ) and not ply : isArrested ( ) then 428 ply : SetDarkRPVar ( " wanted ", false ) 429 ply.DeathPos = nil 430 ply.Slayed = false 431 end 432 433 ply : GetTable ( ).

checking if gmameode is darkrp gmod

dmmaxkills then 419 game.ConsoleCommand ( " kickid ".

checking if gmameode is darkrp gmod

#Checking if gmameode is darkrp gmod download#

if pl:Team () TEAMDEALER > 0 then chat.AddText (Color (255, 0, 0), 'Someone is doing Weapon Dealer job you cant use the npc.Go and buy on weapon dealer') return end. com is the number one paste tool since 2002 Back to Tools To use theitem, standin front of any door and left click Browse Garrys Mod for Half-Life 2 addons to download customizations including maps, skins, sounds, sprays and models Necrodoom, Necrodoom, Jun 6, 2013. I want to make a npc system if some players in this job 'weapon dealer' npc cant be used. dmgracetime, function ( ) if IsValid ( killer ) and killer : IsPlayer ( ) then killer : ResetDMCounter ( killer ) end end ) 416 else 417 - If this player is going over their limit, kick their ass 418 if killer.kills + 1 > GAMEMODE.Config. team checking weapon dealer garrys mod darkrp gamemode. dmautokick and IsValid ( killer ) and killer : IsPlayer ( ) and killer ~= ply then 413 if not killer.kills or killer.kills = 0 then 414 killer.kills = 1 415 timer.Simple ( GAMEMODE.Config. dynamicvoice 237 function GM : PlayerCanHearPlayersVoice ( listener, talker, other ) 238 if vrad and listener : GetShootPos ( ) : Distance ( talker : GetShootPos ( ) ) 0 then 407 ply : AddMoney ( - amount ) 408 DarkRPCreateMoneyBag ( ply : GetPos ( ), amount ) 409 end 410 end 411 412 if GAMEMODE.Config. vehiclecost or 40 23 end 24 25 function GM : CanChangeRPName ( ply, RPname ) 26 if string.find ( RPname, " \160 " ) or string.find ( RPname, " " ) = 1 then - disallow system spaces 27 return false 28 end 29 30 if table.HasValue ( 227 tracedata.start = talker : GetShootPos ( ) 228 tracedata.endpos = listener : GetShootPos ( ) 229 local trace = util.TraceLine ( tracedata ) 230 231 return not trace.HitWorld 232 end 233 234 local threed = GM.Config. doorcost or 30 19 end 20 21 function GM : GetVehicleCost ( objPl, objEnt ) 22 return GAMEMODE.Config. Raw file 1 2 /*- 3 DarkRP hooks 4 -*/ 5 function GM : Initialize ( ) 6 self.BaseClass : Initialize ( ) 7 end 8 9 function GM : PlayerBuyDoor ( objPl, objEnt ) 10 return true 11 end 12 13 function GM : PlayerSellDoor ( objPl, objEnt ) 14 return false 15 end 16 17 function GM : GetDoorCost ( objPl, objEnt ) 18 return GAMEMODE.Config.










Checking if gmameode is darkrp gmod