plz help for Negative healt
#1

plz help for Negative healt script down bug
Quote:

SetPlayerHealth(playerid,-20);

Reply
#2

I can't really understand what you want. You can't have negative health. Please explain more.
Reply
#3

i need script for Negative health
Reply
#4

You CANNOT have negative health.
Reply
#5

Negative health automatically kills the player. What you want (I believe) is to get -20 from the current health of the player. If so:
pawn Код:
new
    Float: amount
;
GetPlayerHealth( playerid, amount );
SetPlayerHealth( playerid, amount - 20 );
Reply
#6

mr Konstantinos tanx and tanx all
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)