View Single Post
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