[HELP]Hunger System
#1

Hello, I'm working on a hunger system, Thirst system, and sleep system.
I was asking myself, if this would be possible?

Код:
	hhunger = PlayerInfo[playerid][pHunger];
    PlayerInfo[playerid][pHunger] = hhunger-1;
?
Reply
#2

Quote:
Originally Posted by faff
Посмотреть сообщение
Hello, I'm working on a hunger system, Thirst system, and sleep system.
I was asking myself, if this would be possible?

Код:
	hhunger = PlayerInfo[playerid][pHunger];
    PlayerInfo[playerid][pHunger] = hhunger-1;
?
Why don't you do simply
pawn Код:
PlayerInfo[playerid][pHunger]--;
Other wise that will work but it will take you computer memory.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)