Kick gun help! :D
#1

Hey there. I need a kick gun for fun but I do not know how to script the command to give yourself one but that's not the question. The question is when ANYONE fires a shotgun with this public variable in, it kicks them, not the person they fired it at. If you can help me create a command and or fix the variable it will be appreciated with a rep. Thanks!

Public Variable:
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    if(GetPlayerWeapon(issuerid) == 25) return Kick(issuerid);
    return 1;
}
Reply


Messages In This Thread
Kick gun help! :D - by MrSnapp - 24.09.2012, 03:12
Re: Kick gun help! :D - by clarencecuzz - 24.09.2012, 04:00
Re: Kick gun help! :D - by [FAT]Klabauter[LST] - 24.09.2012, 06:13
Re: Kick gun help! :D - by denNorske - 24.09.2012, 08:05

Forum Jump:


Users browsing this thread: 1 Guest(s)