Raised This Month: $ Target: $400
 0% 

Dropping bomb on knive hit


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
drumamn4ever
New Member
Join Date: Jun 2004
Location: London, Ontario
Old 06-28-2004 , 05:27   Dropping bomb on knive hit
Reply With Quote #1

I'm having a problem.. i need the player that gets hit with a knive to drop the bomb if they are carrying it... or make them frozen for 2 seconds if they dont have it.... Please someone help... this one is eating me
__________________
Yes, I spelt my username wrong
drumamn4ever is offline
Send a message via MSN to drumamn4ever
sanaell
Senior Member
Join Date: May 2004
Location: SamutPrakarn Thailand
Old 06-28-2004 , 06:45   Re: Dropping bomb on knive hit
Reply With Quote #2

Quote:
Originally Posted by drumamn4ever
I'm having a problem.. i need the player that gets hit with a knive to drop the bomb if they are carrying it... or make them frozen for 2 seconds if they dont have it.... Please someone help... this one is eating me
try to look on the Warcraft 3 Ft code for freeze someone

(BASH power) or (entrangling roots)
__________________
[email protected]
The Source of Pain is the Pain of Source
sanaell is offline
Send a message via MSN to sanaell
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 06-28-2004 , 06:59  
Reply With Quote #3

use damage event to see who gets hits and get the attackers weapon.
if weapon = knife then continue
if player has bomb select it and drop it otherwise set his speed to 0 and change it back after 2 seconds using set_task.
Freecode is offline
drumamn4ever
New Member
Join Date: Jun 2004
Location: London, Ontario
Old 06-28-2004 , 19:25  
Reply With Quote #4

thanks guyz . This is for the CS Football thing... make it easy to enforce rules
__________________
Yes, I spelt my username wrong
drumamn4ever is offline
Send a message via MSN to drumamn4ever
T(+)rget
Senior Member
Join Date: Mar 2004
Old 06-30-2004 , 06:09  
Reply With Quote #5

Quote:
Originally Posted by drumamn4ever
This is for the CS Football thing...
Hope this isn't a clone of SoccerMod
T(+)rget 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 14:47.


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