So, i’m still learning code, and how to open and close, but i’m still fairly new to DARKRP 2.5.1 in general.
The idea is to create a TEAM_ in darkRP that is the sole benefit to one simple thing.
Each time they kill someone with a knife, they get payed 50 bucks RP money.
wep:GetClass() == "weapon_Knife"
function GM:PlayerDeath( victim, inflictor, attacker ) if ( victim == attacker ) then PrintMessage( HUD_PRINTTALK, victim:Name() .. " committed suicide." ) else PrintMessage( HUD_PRINTTALK, victim:Name() .. " was killed by " .. attacker:Name() .. "." ) end end
Player:addMoney( number amount )
Again I have two problems.
I’m not sure how to throw the code together to make it work.
I run a 2.5.1 server…
and the second problem is which .lua to edit.
as … again… I run a 2.5.1 server…
Its a lot different then 2.4.3 and i don’t want to downgrade. I’d like to face the issue. I think a lot of people duck and hide,
and well… i just want to find an answer to one thing.