SA-MP Forums Archive
Player need sleep help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Player need sleep help (/showthread.php?tid=79228)



Player need sleep help - Derksen123 - 26.05.2009

how can i make in my server that an player get tyred and needs to sleep at his house or hotel ??
thank you


Re: Player need sleep help - JoeDaDude - 26.05.2009

Timer, Get a timer for example every 10 minutes, And every time that ten minutes has gone if they havent had a drink or anything, An animation gets applied for a minimum of 20 seconds or something.