• Trying to add radar to pointshop (TTT)
    11 replies, posted
I can probably figure it out on my own if I could just figure out how the radar is called when adding that equipment to a player. I've been googling and searching through files all night. Can anyone point me in the right direction?
Im looking for it too. Can you try to use radar from the Modern Warfare 2 Hud? I've been googling too and didnt find anything...
Items have hooks which are called when a player has an item equipped. [url]http://pointshop.burt0n.net/items[/url]
[QUOTE=_Undefined;41198566]Items have hooks which are called when a player has an item equipped. [url]http://pointshop.burt0n.net/items[/url][/QUOTE] Yeah, I get that, I'm just trying to figure out how to call the radar specifically.
I am wondering this to hopefully someone comes up with an answer
or body armor. any of that non weapon equipment
Anyone? Just need a place to start
Theres already a radar on TTT where Detectives and Traitors can buy it on the context menu. Getting a another radar spoils the concept of TTT.
[QUOTE=bluemist;41224770]Theres already a radar on TTT where Detectives and Traitors can buy it on the context menu. Getting a another radar spoils the concept of TTT.[/QUOTE] Thanks for your input.
Golly It's been awhile, anyone have an answer for this one thu?
[QUOTE=fast0nitro;44060731]Golly It's been awhile, anyone have an answer for this one thu?[/QUOTE] You would need to recode the way the radar works
[quote="player_ext.lua"]function plymeta:GiveEquipmentItem(id) if self:HasEquipmentItem(id) then return false elseif id and id > EQUIP_NONE then self:AddEquipmentItem(id) return true end end[/quote] Use ply:GiveEquipmentItem(EQUIP_RADAR)
Sorry, you need to Log In to post a reply to this thread.