11.03.2012, 23:51
try this
Код:
if ( issuerid != INVALID_PLAYER_ID || issuerid == INVALID_PLAYER_ID )
{
//xxxxxxxxxxxxxxxxxxxxxxxxxx
{
if ( amount > 2 )
{
new Float:playerHp;
GetPlayerHealth( playerid, playerHp );
SetPlayerHealth( playerid, playerHp - ( amount*15/100 ) ); // give back 15% of the health..
}
}
}

