Monthly Target: $400 Donations: $549
 137% 

Admin Weapon II (mattcook)


Post New Thread Reply   
 
Thread Tools Display Modes
scriptyboy
BANNED
Join Date: Sep 2005
Old 09-25-2005 , 22:34  
Reply With Quote #21

Quote:
Originally Posted by zeemak
still doesnt work it says "nick not found"
then why not just bind it to your exact name??
scriptyboy is offline
Meatwad
Senior Member
Join Date: Jul 2004
Location: New york, LI
Old 09-26-2005 , 14:46  
Reply With Quote #22

He might change names a lot, or sometimes someone impersonates him.

Just try this to a bind.

bind KP_END "amx_weapon STEAM_0:0476 43"

That would give me the AK47, in my plugin.

This plugin might not be able to recognize STEAM IDs properly. I had this problem when I took over the plugin for Gir.

You see, since this uses a case system, it could think that the 43 is apart of the STEAM ID.
__________________
http://googlefoundfunniest.ytmnd.com/

If you like Aqua Teen Hunger Force, then paste this onto your forehead. (Laugh out loud.)

Admin Weapons II
Meatwad is offline
v3x
AMX Mod X Moderator
Join Date: Oct 2004
Location: PA, US
Old 09-26-2005 , 16:21  
Reply With Quote #23

I believe it only works with nick and #userid.
__________________
Follow me on my new Twitter account!!! @vvv3xxx
v3x is offline
Send a message via AIM to v3x
Meatwad
Senior Member
Join Date: Jul 2004
Location: New york, LI
Old 09-26-2005 , 17:24  
Reply With Quote #24

Quote:
Originally Posted by v3x
I believe it only works with nick and #userid.
Which is your STEAM ID.
__________________
http://googlefoundfunniest.ytmnd.com/

If you like Aqua Teen Hunger Force, then paste this onto your forehead. (Laugh out loud.)

Admin Weapons II
Meatwad is offline
scriptyboy
BANNED
Join Date: Sep 2005
Old 09-26-2005 , 17:32  
Reply With Quote #25

#userid is the number you are when you type status in console...like #1786 or #1234 its the number you get assigned when joining the server...isnt that right?
scriptyboy is offline
Meatwad
Senior Member
Join Date: Jul 2004
Location: New york, LI
Old 09-26-2005 , 20:40  
Reply With Quote #26

Code:
register_concmd("amx_weapon","admin_weapon",ADMIN_LEVEL_C,"<authid, nick, @all, @team, or #userid> <weapon #>")
That's how my version of Admin Weapons II works.
__________________
http://googlefoundfunniest.ytmnd.com/

If you like Aqua Teen Hunger Force, then paste this onto your forehead. (Laugh out loud.)

Admin Weapons II
Meatwad is offline
k007
BANNED
Join Date: Mar 2006
Location: bacon?
Old 04-27-2006 , 01:22  
Reply With Quote #27

could u post me a link for like custom models/
k007 is offline
Send a message via MSN to k007
v3x
AMX Mod X Moderator
Join Date: Oct 2004
Location: PA, US
Old 04-27-2006 , 01:37  
Reply With Quote #28

The website with the custom model tutorials is currently down.
__________________
Follow me on my new Twitter account!!! @vvv3xxx
v3x is offline
Send a message via AIM to v3x
tripc
Senior Member
Join Date: Aug 2006
Old 10-24-2006 , 11:16   Re: Admin Weapon II (mattcook)
Reply With Quote #29

you can add in your plugin this i will do

amx_weapon <name> <weapon> <1>

1 = give every round

do you can make this one?

Thanks, Yogev
tripc is offline
DaDDy
Member
Join Date: Jul 2006
Location: Northampton, UK
Old 12-03-2006 , 15:01   Re: Admin Weapon II (mattcook)
Reply With Quote #30

would it be possible that it could read from say a txt file ?

reason being i have a simular plugin but i have had to bind each set of weapons to a key. i.e i have a set i use with m4a1 and ak and another for mp5 etc etc.

would it be possible to have a menu which u can edit to what u like to have a set.

1. M4A1 + Gren
2. M4A1 + Deagle + Gren
3. AK47 + Gren
4. AK47 + Deagle + Gren

and so on and so on but created by the user by editing a file in say like this......

so for #1 on above list...

"M4A1 + Gren" ( that is menu name part ) "amx_weapon 43; amx_weapon 83; amx_weapon 83; amx_weapon 84; amx_weapon 85.(this would obviously be the part that gives the weapons.

you could use some alias's or something and i would attempt to script this myself but tbh i suck so hard at scripting this is way out of my league.

cheerz
__________________
DaDDy is offline
Send a message via MSN to DaDDy
Reply


Thread Tools
Display Modes

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 02:54.


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