hi i have csgo addon on my server this is the addon : [url]http://steamcommunity.com/sharedfiles/filedetails/?id=506283460[/url]
and i want to add knives to my pointshop how do i do that ?
and i have thirdperson addon and i want to set a command like !3p to do thirdperson
and this is gonna be deathrun server and i want to know how do i change skins to death and runners.
sorry if its to much but im really didit find answer anywhere :P
[QUOTE=Invule;50756637][url]http://pointshop.burt0n.net/items/functions[/url]
[img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/GM/PlayerSay]GM:PlayerSay[/url][/QUOTE]
Invule is correct but this user wants the full code. ( I have used the CSGO Knives Before )
I can really only do the pointshop as you havn't told us the Thirdperson addon.
[CODE]ITEM.Name = 'Bayonet Knife'
ITEM.Price = 1000
ITEM.Model = 'models/player/kleiner.mdl'
ITEM.WeaponClass = 'csgo_bayonet'
function ITEM:OnBuy(ply)
ply:Give(self.WeaponClass)
ply:SelectWeapon(self.WeaponClass)
end
function ITEM:OnSell(ply)
ply:StripWeapon(self.WeaponClass)
end
function ITEM:OnEquip(ply)
ply:StripWeapon(self.WeaponClass)
end[/CODE]
PS, you can't use the Knife View model you have too use something else.
[editline]23rd July 2016[/editline]
Use csgo_ (knife name) if you want to use bigger knives like csgo_butterfly_fade you have to have spaces between but not spaces lower dash _ :P
- Jacob
[QUOTE=jacobcooper18;50757203]
PS, you can't use the Knife View model you have too use something else.
[/QUOTE]
What are you on about?
[IMG]http://i.imgur.com/4XGH6sF.png[/IMG]
[QUOTE=Haina;50757466]What are you on about?
[IMG]http://i.imgur.com/4XGH6sF.png[/IMG][/QUOTE]
Yeah, but ingame with the addon downloaded in Q you can't use those view models and the knives are very small..
[QUOTE=jacobcooper18;50758971]Yeah, but ingame with the addon downloaded in Q you can't use those view models and the knives are very small..[/QUOTE]
If they are too small you can lower the FOV to give a zoom effect.
[QUOTE=jacobcooper18;50757203]Invule is correct but this user wants the full code. ( I have used the CSGO Knives Before )
I can really only do the pointshop as you havn't told us the Thirdperson addon.
[CODE]ITEM.Name = 'Bayonet Knife'
ITEM.Price = 1000
ITEM.Model = 'models/player/kleiner.mdl'
ITEM.WeaponClass = 'csgo_bayonet'
function ITEM:OnBuy(ply)
ply:Give(self.WeaponClass)
ply:SelectWeapon(self.WeaponClass)
end
function ITEM:OnSell(ply)
ply:StripWeapon(self.WeaponClass)
end
function ITEM:OnEquip(ply)
ply:StripWeapon(self.WeaponClass)
end[/CODE]
PS, you can't use the Knife View model you have too use something else.
[editline]23rd July 2016[/editline]
Use csgo_ (knife name) if you want to use bigger knives like csgo_butterfly_fade you have to have spaces between but not spaces lower dash _ :P
- Jacob[/QUOTE]
ok what can i use instead model ?
and this is my thirdperson addon : [url]http://steamcommunity.com/sharedfiles/filedetails/?id=207948202[/url] if you have something better i like to know
and i have these wings that i want to to add to the pointshop : [url]http://steamcommunity.com/sharedfiles/filedetails/?id=107165776[/url]
and thank you for the help :)
Sorry, you need to Log In to post a reply to this thread.