Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do i increase sanity to a player?
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#4
RE: How do i increase sanity to a player?

MAX sanity = 100 ... you will fall on the ground with the high pitch sound.
Like AddPlayerSanity(100); // will be the highest number available ( max sanity )
---
void give_me_sanity(string &in asEntity)
{
AddPlayerSanity(10.0f);
AutoSave();
}
(This post was last modified: 06-15-2014, 02:09 PM by DnALANGE.)
06-15-2014, 02:07 PM
Find


Messages In This Thread
RE: How do i increase sanity to a player? - by DnALANGE - 06-15-2014, 02:07 PM



Users browsing this thread: 1 Guest(s)