Raised This Month: $ Target: $400
 0% 

!he command


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
matecro
BANNED
Join Date: Jun 2010
Old 04-18-2011 , 15:48   !he command
Reply With Quote #1

can you make that when a player type !he he gets nade ?, and with that plugin i would use twisted panda so i can limit to 3 nade, pliz guys
matecro is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 04-19-2011 , 06:54   Re: !he command
Reply With Quote #2

PHP Code:
#include <sourcemod>
#include <sdktools>

public OnPluginStart()
{
    
RegConsoleCmd("sm_he"Cmd_GiveHe"Gives a he grenade");
}

public 
Action:Cmd_GiveHe(clientargs)
{
    if(
IsPlayerAlive(client))
        
GivePlayerItem(client"weapon_hegrenade");
    return 
Plugin_Handled;

__________________
Peace-Maker is offline
matecro
BANNED
Join Date: Jun 2010
Old 04-19-2011 , 13:22   Re: !he command
Reply With Quote #3

thanx, great working
matecro 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 18:03.


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