Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

What's wrong in this?

$
0
0
I'm trying to make a Taser.
Code:

public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
 if(gPlayerClass[playerid] == Policeman)
        {
            if(issuerid != INVALID_PLAYER_ID && weaponid == 23)
            {
                ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
            }
        }
    return 1;
}

It's not working.

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>