Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
- {
- if(issuerid != INVALID_PLAYER_ID && bodypart == 9)// Me imagino que es para todas las armas.
- {
- // En la cabesa y muere.
- SetPlayerHealth(playerid, 0.0)
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement