#1

hello,
i've got a saving system, but now i want to save my health.
ive got this but i get a target mismatch on this line:
Код:
dini_IntSet(udb_encode(playername), "health", health);
on top if my script i have:
Код:
new Float: health;
and in onplayerdisconnect i have this:
Код:
health = GetPlayerHealth(playerid, health);
together with the error line i gave you.

in my onplayercommandtext on /register i have:
Код:
health = GetPlayerHealth(playerid, health);
and
Код:
dini_IntSet(udb_encode(playername), "health", 100);
and those DO work, but the other one doesn't .... how can i fix this
Reply


Messages In This Thread
save - by thuron - 18.03.2009, 18:01
Re: save - by Badger(new) - 20.03.2009, 21:01
Re: save - by Kinetic - 20.03.2009, 21:17

Forum Jump:


Users browsing this thread: 1 Guest(s)