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(client, args)
{
FakeClientCommand(client, "give rifle");
PrintToChat(client, "Tu a eu un riffle");
return Plugin_Handle;
}
Thanks for u'r help