13.02.2014, 21:32
OnplayerTakeDamage
13.02.2014, 23:01
try this
pawn Код:
if(issuerid != INVALID_PLAYER_ID)
{
if(weaponid == 34 && bodypart == 9)
{
SetPlayerHealth(playerid,0.0);
}
return 1;
}
14.02.2014, 00:36
You need to be using the 0.3z version of pawno which can be found in http://sa-mp.com/download
If you read this: https://sampwiki.blast.hk/wiki/OnPlayerTakeDamage
you will notice that the 'bodypart' parameter should only be added once you are using the 0.3z server package. This will not work for 0.3x and earlier.
If you read this: https://sampwiki.blast.hk/wiki/OnPlayerTakeDamage
you will notice that the 'bodypart' parameter should only be added once you are using the 0.3z server package. This will not work for 0.3x and earlier.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)