Raised This Month: $ Target: $400
 0% 

How to change weapon of a player?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
-=hunter=-
Senior Member
Join Date: Jul 2008
Old 07-26-2010 , 08:37   Re: How to change weapon of a player?
Reply With Quote #1

Player has many weapons. I know id of certain weapon (player has this weapon). I need that player select this weapon.
-=hunter=- is offline
Send a message via ICQ to -=hunter=- Send a message via Skype™ to -=hunter=-
Gadzislaw007
Senior Member
Join Date: Nov 2009
Old 07-26-2010 , 10:03   Re: How to change weapon of a player?
Reply With Quote #2

I don't understand what do you mean, dude.
Why do you want give weapon that player already has?
Gadzislaw007 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-26-2010 , 10:47   Re: How to change weapon of a player?
Reply With Quote #3

engclient_cmd(PLAYERID, WEAPONNAME)

Code:
engclient_cmd(id, "weapon_knife")
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
DaxProxy
Senior Member
Join Date: Sep 2007
Old 07-28-2010 , 08:09   Re: How to change weapon of a player?
Reply With Quote #4

Quote:
Originally Posted by ConnorMcLeod View Post
engclient_cmd(PLAYERID, WEAPONNAME)

Code:
engclient_cmd(id, "weapon_knife")
I had no idea there is such command, this is going to solve quite a few problems for me, thankyou.
__________________

Want ApolloRP for Counter-Strike? Show your support: http://forums.alliedmods.net/showthr...39#post1264739
DaxProxy 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:07.


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