Quote:
Originally Posted by Brrdy
Aww okay so just have it do onplayeruncmd() then have it do the same thing but with a |???
|
pseudo code of the old syntax (I have no idea if they added object-orienated programming yet):
Code:
public Action:OnPlayerRunCmd(client, &buttons)
{
if(!(buttons & IN_ATTACK))
{
buttons |= IN_ATTACK;
return Plugin_Changed;
}
return Plugin_Continue;
}
Sorry if it doesn't work, I didn't use SourceMod in about a year
__________________