18.02.2013, 13:33
Hello,i want to make a command that when you're smoking if you press LMB,it would heal you a bit. How do i do that?
if(newkeys == KEY_FIRE)
{
if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_SMOKE_CIGGY)
{
new Float:pH;
GetPlayerHealth(playerid, pH);
SetPlayerHealth(playerid, pH+5);
}
}