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

[Help] Damage Weapons

$
0
0
Do I want bigger baseball bats to do more damage?

When I used OnPlayerTakeDamage, I turned off pawno
PHP Code:

public OnPlayerTakeDamage(playeridissueridFloatamountweaponid)
{
    new 
Float:HP;
    
GetPlayerHealth(playeridHP);
    if(
weaponid == 5SetPlayerHealth(playeridHP-10);
    return 
1;


Compiler error

Viewing all articles
Browse latest Browse all 18226

Trending Articles



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