Health issue
#1

Well, in my server i am trying to make a small idea.. in profiles the health of the player is saved.. i wanted it to be 1000 in the profile but i face something when player stats are saved.. it goes cyco to different numbers sometimes it goes to 0 so player gets killed on spawn...

Код:
dUserSetINT(PlayerName2(playerid)).("Health",floatround(health));
the float:

Код:
new	Float:health;
GetPlayerHealth(playerid, Float:health);
Reply
#2

How is your user data saved? I see how you GetPlayerHealth but whats your saving method.
Reply
#3

Quote:
Originally Posted by SantarioLeone
Посмотреть сообщение
How is your user data saved? I see how you GetPlayerHealth but whats your saving method.
its ok now i fixed it.. i just changed how its saved to it doesnt be fixed to a certain number... i made it editable like the score/kills/deaths in profiles.. thanks for ur help anyways
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)