Raised This Month: $32 Target: $400
 8% 

Help please scripting weapon


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
romain3009
Junior Member
Join Date: Jul 2011
Old 04-17-2012 , 05:45   Help please scripting weapon
Reply With Quote #1

Hello, i'm a debutant and i have a little problem for the compilation :

PHP Code:
#include <sourcemod>
 
public Plugin:myinfo 
{
        
name "Weapon",
        
author "Izio38",
        
description " Give riffle when mmark !weapon",
        
version "1.0.0",
        
url "http://www.xlgamingforums.com" 
};

public 
OnPluginStart()
{
    
RegConsoleCmd("sm_weapon"Weapon);
}
public 
Action:Weapon(clientargs)
{
    
FakeClientCommand(client"give rifle");
    
PrintToChat(client"Tu a eu un riffle");
    return 
Plugin_Handle;

Thanks for u'r help
romain3009 is offline
 


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 07:06.


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