Raised This Month: $12 Target: $400
 3% 

TFC Plugin.


Post New Thread Reply   
 
Thread Tools Display Modes
Waylay
Member
Join Date: Feb 2006
Old 04-02-2006 , 15:52  
Reply With Quote #31

Ja .I know
Waylay is offline
Send a message via MSN to Waylay
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 04-02-2006 , 15:54  
Reply With Quote #32

it still doesn't work, something in TFC restricts giving weapons.

I belive you would need to create the entity manually and set all its properties and use fakemeta and other fun things to make it work.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Waylay
Member
Join Date: Feb 2006
Old 04-02-2006 , 15:56  
Reply With Quote #33

aargghh
Waylay is offline
Send a message via MSN to Waylay
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 04-02-2006 , 15:56  
Reply With Quote #34

spawn an entity_armoury with the right properties then set its origin. <engine>. too lazy ATM. maybe later.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Waylay
Member
Join Date: Feb 2006
Old 04-02-2006 , 16:00  
Reply With Quote #35

im a big newbie at coding..i dont even understand what you mean !
Waylay is offline
Send a message via MSN to Waylay
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 04-02-2006 , 16:29  
Reply With Quote #36

hahah when I said it didn't work I was trying "tfc_weapon_"
I was looking in another post I found and I thought thats what they said.

This works

Code:
#include <amxmodx> #include <tfcx> #include <fun> public plugin_init() {     register_plugin("Conc Rockets","1.0","Waylay")     register_clcmd("say needrocket","fnSayNeedRocket") } public fnSayNeedRocket(id) {     give_item(id,"tf_weapon_rpg")     tfc_setbammo(id,TFC_AMMO_ROCKETS,32)     client_cmd(id,"tf_weapon_rpg") }
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Waylay
Member
Join Date: Feb 2006
Old 04-02-2006 , 17:21  
Reply With Quote #37

Quote:
Originally Posted by jtp10181
hahah when I said it didn't work I was trying "tfc_weapon_"
I was looking in another post I found and I thought thats what they said.

This works

Code:
#include <amxmodx> #include <tfcx> #include <fun> public plugin_init() {     register_plugin("Conc Rockets","1.0","Waylay")     register_clcmd("say needrocket","fnSayNeedRocket") } public fnSayNeedRocket(id) {     give_item(id,"tf_weapon_rpg")     tfc_setbammo(id,TFC_AMMO_ROCKETS,32)     client_cmd(id,"tf_weapon_rpg") }
Thx,man
Waylay is offline
Send a message via MSN to Waylay
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 04-02-2006 , 20:24  
Reply With Quote #38

now Didn't you say you only wanted it for certian classes? And do you want it automatic instead of having to say something? Let me know if you want any other features on it.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode