[Tutorial] Making A Simple Hunger/Thirst System
#4

Quote:
Originally Posted by [uL]Pottus
View Post
You shouldn't really have to this at all just make sure all settings are set when a player logs in or registers.

pawn Code:
for(new i; i < _: USER_DATA; ++i) User[playerid][USER_DATA: i] = 0;
That would work for regular player stats such as kills and deaths but not with hunger and thirst in this system where they are set to 100 which would mean your stomach is full etc.

But thanks for your reply!
Reply


Messages In This Thread
Making A Simple Hunger/Thirst System - by Voxel - 11.01.2014, 14:15
Re: Making A Simple Hunger/Thirst System - by sammp - 11.01.2014, 16:25
Re: Making A Simple Hunger/Thirst System - by Pottus - 11.01.2014, 18:55
Re: Making A Simple Hunger/Thirst System - by Voxel - 11.01.2014, 19:08
Re: Making A Simple Hunger/Thirst System - by Pottus - 11.01.2014, 19:13
Re: Making A Simple Hunger/Thirst System - by Voxel - 11.01.2014, 19:59
Re: Making A Simple Hunger/Thirst System - by twerko13 - 16.01.2014, 20:16
Re: Making A Simple Hunger/Thirst System - by Voxel - 17.01.2014, 05:05
Re: Making A Simple Hunger/Thirst System - by twerko13 - 17.01.2014, 08:29
Re: Making A Simple Hunger/Thirst System - by Voxel - 17.01.2014, 09:05

Forum Jump:


Users browsing this thread: 2 Guest(s)