a few quesition!
1. if i give a person a nade how could i make him not be able to throw it, or how could i give a person a v_ weapon view for example if he use +use or something
2.if i want to spawn something in front of a player and i have the player origin what should i change in it to make it in front of him.. 3. thats it thx lulz! |
Re: a few quesition!
what do you mean by now throw it ? if you set_user_bpammo(id,CSW_HEGRENADE,0) it will maek him not throw it (but then it will remove it )
|
Re: a few quesition!
1. block +attack?
2. already answered many times for exmaple: http://forums.alliedmods.net/showthread.php?t=23469 |
Re: a few quesition!
1. how cold i block it.. do i use pre think and find out if he has a grenade and then block it..if i block it when he has a grenade when the client switch weapons will it still block cuz i only want for one grenade
2.ty |
Re: a few quesition!
Check the client's current weapon, and block +attack if its a grenade.
get_user_weapon() - Returns id of a player's currently carried weapon. |
Re: a few quesition!
thats what a FU***** said i was asking how do i BLOCK it, is there a function i could use or something
|
Re: a few quesition!
Don't wet your pants, please.
Check on client's attack (pre_think) if the current weapon is a grenade, and block it if it is the grenade. |
Re: a few quesition!
ok thanks i know how to check it i just don't know how to block it
|
Re: a few quesition!
Can you not just remove it from the game?
|
Re: a few quesition!
he wants them to have the nade but not be able to throw it...
|
| All times are GMT -4. The time now is 04:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.