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

Weapon names


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 01-17-2005 , 09:43   Weapon names
Reply With Quote #1

When you are scripting a hero and have this code: CSW_KNIFE
Can anyone then make a list of how to insert the other weapons.
I tryed with CSW_ELITES, but it didn't work...
__________________
//ShadowLeader - 123
123 is offline
Chivas2973
Veteran Member
Join Date: Mar 2004
Location: Wisconsin
Old 01-17-2005 , 10:17  
Reply With Quote #2

look in AssKicR's first tutorial, scroll down a bit and it tells you all the weapon names
http://shero.rocks-hideout.com/forum...load.php?id=86

hope it helps with what you wanted
__________________
Chivas2973 is offline
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 01-17-2005 , 10:30  
Reply With Quote #3

Well that was the one I looked at in the first place...
But I can't use that cuz it is numbers: [0][1] ect...
__________________
//ShadowLeader - 123
123 is offline
Chivas2973
Veteran Member
Join Date: Mar 2004
Location: Wisconsin
Old 01-17-2005 , 10:39  
Reply With Quote #4

well, I don't know much in that, but did you try like this
shGiveWeapon(id,"weapon_elites")

and

CSW_ELITES

if that doesn't help, I am tapped out, sorry
__________________
Chivas2973 is offline
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 01-17-2005 , 11:01  
Reply With Quote #5

Well...
I got it to work...
The hero should not give ppl a weapon, but give more damage...
Got it to work now...
Just one fix I have to make...
When you shoot a person with the elites, it displays a fiveseven in the upper right corner... :S
But that's an easy fix...
__________________
//ShadowLeader - 123
123 is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 01-17-2005 , 21:40  
Reply With Quote #6

look in the includes.... the CSW_ defines are in there...

amxconst.inc
Code:
/* Id of weapons in CS */ #define CSW_P228        1 #define CSW_SCOUT      3 #define CSW_HEGRENADE      4 #define CSW_XM1014    5 #define CSW_C4      6 #define CSW_MAC10      7 #define CSW_AUG   8 #define CSW_SMOKEGRENADE    9 #define CSW_ELITE      10 #define CSW_FIVESEVEN      11 #define CSW_UMP45      12 #define CSW_SG550      13 #define CSW_GALI        14 #define CSW_GALIL      14 #define CSW_FAMAS      15 #define CSW_USP   16 #define CSW_GLOCK18  17 #define CSW_AWP   18 #define CSW_MP5NAVY  19 #define CSW_M249        20 #define CSW_M3      21 #define CSW_M4A1        22 #define CSW_TMP   23 #define CSW_G3SG1      24 #define CSW_FLASHBANG      25 #define CSW_DEAGLE    26 #define CSW_SG552      27 #define CSW_AK47        28 #define CSW_KNIFE      29 #define CSW_P90   30
__________________
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
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 01-18-2005 , 08:37  
Reply With Quote #7

Okay thank you JTP...
__________________
//ShadowLeader - 123
123 is offline
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 00:40.


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