OnplayerTakeDamage
#1

Anyone can help me Please



Error
Reply
#2

try this

pawn Код:
if(issuerid != INVALID_PLAYER_ID)
{
   if(weaponid == 34 && bodypart == 9)
   {
       SetPlayerHealth(playerid,0.0);
   }
   return 1;
}
Reply
#3

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)