Raised This Month: $ Target: $400
 0% 

a few quesition!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
k007
BANNED
Join Date: Mar 2006
Location: bacon?
Old 10-28-2006 , 23:53   a few quesition!
Reply With Quote #1

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!
k007 is offline
Send a message via MSN to k007
Nostrodamous
BANNED
Join Date: Oct 2006
Old 10-29-2006 , 02:16   Re: a few quesition!
Reply With Quote #2

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 )
Nostrodamous is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 10-29-2006 , 03:39   Re: a few quesition!
Reply With Quote #3

1. block +attack?
2. already answered many times

for exmaple: http://forums.alliedmods.net/showthread.php?t=23469

Last edited by VEN; 10-29-2006 at 03:43.
VEN is offline
k007
BANNED
Join Date: Mar 2006
Location: bacon?
Old 10-29-2006 , 13:09   Re: a few quesition!
Reply With Quote #4

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
k007 is offline
Send a message via MSN to k007
stupok
Veteran Member
Join Date: Feb 2006
Old 10-29-2006 , 14:28   Re: a few quesition!
Reply With Quote #5

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.

Last edited by stupok; 10-29-2006 at 14:30.
stupok is offline
k007
BANNED
Join Date: Mar 2006
Location: bacon?
Old 10-29-2006 , 14:29   Re: a few quesition!
Reply With Quote #6

thats what a FU***** said i was asking how do i BLOCK it, is there a function i could use or something
k007 is offline
Send a message via MSN to k007
stupok
Veteran Member
Join Date: Feb 2006
Old 10-29-2006 , 14:30   Re: a few quesition!
Reply With Quote #7

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.
stupok is offline
k007
BANNED
Join Date: Mar 2006
Location: bacon?
Old 10-29-2006 , 14:33   Re: a few quesition!
Reply With Quote #8

ok thanks i know how to check it i just don't know how to block it
k007 is offline
Send a message via MSN to k007
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 10-29-2006 , 15:25   Re: a few quesition!
Reply With Quote #9

Can you not just remove it from the game?
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
Rolnaaba
Veteran Member
Join Date: May 2006
Old 10-30-2006 , 10:52   Re: a few quesition!
Reply With Quote #10

he wants them to have the nade but not be able to throw it...
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
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 04:56.


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