healplayer
#1

how would i make it so when you buy food off a menu (ive made 1 dont worry) you get +60 health because if i use setplayerhealth 60 if their 100health their gona loose it so is their away to make it go +60?

thanks
Reply
#2

pawn Код:
new Float: Health;
GetPlayerHealth(playerid,Health);
SetPlayerHealth(playerid,Health+60);
Reply
#3

Quote:
Originally Posted by BMUK
Посмотреть сообщение
pawn Код:
new Float: Health;
GetPlayerHealth(playerid,Health);
SetPlayerHealth(playerid,Health+60);
thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)