Garry's Mod

Garry's Mod

Murder
Herr Commander 21. apr. 2014 kl. 7:56
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
< >
Viser 1-1 af 1 kommentarer
Noir 11. juli 2014 kl. 0:58 
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")
< >
Viser 1-1 af 1 kommentarer
Per side: 1530 50