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 can i modify the amount of the oil?
GillFrog Offline
Junior Member

Posts: 26
Threads: 7
Joined: Mar 2011
Reputation: 1
#3
RE: How can i modify the amount of the oil?

(12-06-2011, 12:01 AM)triadtimes Wrote: Well, all you have to do is put that line of code in during your OnStart() and put 0 where "float afOil" is. Because "float afOil" is the amount of starting oil the player should have, in your case 0. So it will look like this:
void OnStart()
{
    SetPlayerLampOil(0);
}

Hope this helps.
Thank you! Big Grin



12-06-2011, 12:25 AM
Website Find


Messages In This Thread
RE: How can i modify the amount of the oil? - by GillFrog - 12-06-2011, 12:25 AM



Users browsing this thread: 1 Guest(s)