Garry's Mod

Garry's Mod

Murder
How to add new weapon to murder carry(to take the people(FUN!!!)) form ttt
I found carry name weapon_zm_carry then I found a lua script where the murder geting knife
his name sv_player line namber 84 and I saw this
"function GM:PlayerLoadout(ply)

ply:Give("weapon_rp_hands")
-- ply:Give("weapon_fists")

if ply:GetMurderer() then
ply:Give("weapon_mu_knife")
end"
then I Add to "if ply:GetMurderer() then" this "ply:Give("weapon_zm_carry")"
and It look like this
"function GM:PlayerLoadout(ply)

ply:Give("weapon_rp_hands")
-- ply:Give("weapon_fists")

if ply:GetMurderer() then
ply:Give("weapon_mu_knife")
ply:Give("weapon_zm_carry")
end
"
I can't understand what i did wrong I put file "weapon_zm_carry" to "server\gamemodes\murderentities/weapons"
HELP ME
< >
Showing 1-1 of 1 comments
Noir Jul 11, 2014 @ 12:58am 
Im really confused what you just asked lol.... For starters you should use pastebin for separate codes.Two, if your making a new weapons, go to the gamemode/ then murder/ then entities/ weapons/ make a similar folder name as weapon_mu_WEAPONNAME.... Then put the shared.lua of that weapon in there. Go back to the playerloadout and add ply:Give("weapon_muWEAPONNAME")
< >
Showing 1-1 of 1 comments
Per page: 1530 50