Random Damages
#3

Quote:
Originally Posted by Glad2BeHere
Посмотреть сообщение
Damage the player gets is calculated by angle and distance

let me see
pawn Код:
//try this under take damage
new Float:loosedamage;
GetPlayerHealth(playerid, loosedamage);
SetPlayerHealth(playerid, loosedamage + amount);
new x = random(1+50);
SetPlayerHealth(loosedamage + x);
the (1+50) means? cuz i got confused
Reply


Messages In This Thread
Random Damages - by CROSS_Hunter - 20.03.2013, 03:58
Re: Random Damages - by Glad2BeHere - 20.03.2013, 04:14
Re: Random Damages - by CROSS_Hunter - 20.03.2013, 04:17
Re: Random Damages - by [ABK]Antonio - 20.03.2013, 05:06

Forum Jump:


Users browsing this thread: 1 Guest(s)