Raised This Month: $ Target: $400
 0% 

[HELP] Turn On/Off Knife


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hibiki_XD
Member
Join Date: Jan 2008
Old 04-12-2009 , 11:08   [HELP] Turn On/Off Knife
Reply With Quote #1

Hi all i need help with this.. example if i dont have knife..., how i can give it and turn it off? example:

[I GOT THE KNIFE]
1 secs
2 secs
3 secs
4 secs
5 secs
6 secs
7 secs
8 secs
9 secs
10 secs
[Remove Knife]

How i can do it?
__________________
This is me Server Hide-n-Seek
[OFFLINE]
Hibiki_XD is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 04-12-2009 , 12:41   Re: [HELP] Turn On/Off Knife
Reply With Quote #2

PHP Code:
/*
    Something like this?
*/
#include <fakemeta_util>
function( id... )
{
    
fm_give_itemid"weapon_knife" );
    
set_task10.0"remove_knife"id );
}
remove_knifeid )
{
    
fm_strip_user_gunid"weapon_knife" );

SnoW is offline
Send a message via MSN to SnoW
Hibiki_XD
Member
Join Date: Jan 2008
Old 04-12-2009 , 16:20   Re: [HELP] Turn On/Off Knife
Reply With Quote #3

thanks ~
__________________
This is me Server Hide-n-Seek
[OFFLINE]
Hibiki_XD is offline
TitANious
Veteran Member
Join Date: Feb 2009
Location: Denmark
Old 04-12-2009 , 16:40   Re: [HELP] Turn On/Off Knife
Reply With Quote #4

You cant give it like that? I think you means exampel

A admin wants to give a person a weapon for 10 secunds, with a say command or console command?
__________________
I dislike this.

"A sneeze never comes alone!" <-- Important to remember.
TitANious is offline
Send a message via MSN to TitANious
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 02:19.


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