Hello everyone,
I'm very new to sourcemod and to the community so go easy on me ^-^. I was working on my first mod (one that would regenerate health and ammo upon use of "!sm_refill") but it seems like it doesn't want to work.
Code:
public Action:refill(client, args)
{
FakeClientCommand(client, "impulse 101");
PrintToChat(client, "Your health and ammo were refilled");
return Plugin_Handled;
}
That is the code i'm using at the moment, I was wondering if it was a problem with using impulse 101? (It prints "Your health and ammo were refilled" but nothing happens)
Thanks,
Skr3wz