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
Script Help Starting items
Radical Batz Offline
Posting Freak

Posts: 953
Threads: 145
Joined: Dec 2013
Reputation: 25
#6
RE: Starting items

(03-08-2014, 05:22 PM)Straxedix Wrote: void OnStart()

{
SetPlayerLampOil(15);
SetPlayerHealth(50);
}
like this ??

it shows error Unexpected token "{"



Maybe you copied the void onstart() and pasted it! don't do another void onstart

what you're supposed to do is paste this in/near void onstart

SetPlayerLampOil(15);
SetPlayerHealth(50);

see if that works
(This post was last modified: 03-08-2014, 06:46 PM by Radical Batz.)
03-08-2014, 06:45 PM
Find


Messages In This Thread
Starting items - by Straxedix - 03-08-2014, 05:06 PM
RE: Starting items - by Slanderous - 03-08-2014, 05:19 PM
RE: Starting items - by Straxedix - 03-08-2014, 05:22 PM
RE: Starting items - by Radical Batz - 03-08-2014, 06:45 PM
RE: Starting items - by DnALANGE - 03-08-2014, 05:28 PM
RE: Starting items - by Slanderous - 03-08-2014, 06:04 PM
RE: Starting items - by Mudbill - 03-08-2014, 06:46 PM
RE: Starting items - by Radical Batz - 03-08-2014, 06:46 PM
RE: Starting items - by Straxedix - 03-08-2014, 10:48 PM
RE: Starting items - by Radical Batz - 03-08-2014, 10:53 PM
RE: Starting items - by Romulator - 03-08-2014, 10:52 PM
RE: Starting items - by Romulator - 03-08-2014, 11:00 PM
RE: Starting items - by Radical Batz - 03-08-2014, 11:04 PM
RE: Starting items - by Straxedix - 03-08-2014, 11:01 PM
RE: Starting items - by Romulator - 03-08-2014, 11:04 PM
RE: Starting items - by Straxedix - 03-08-2014, 11:09 PM
RE: Starting items - by Romulator - 03-08-2014, 11:12 PM
RE: Starting items - by Straxedix - 03-08-2014, 11:15 PM
RE: Starting items - by Romulator - 03-08-2014, 11:29 PM
RE: Starting items - by Straxedix - 03-08-2014, 11:31 PM
RE: Starting items - by Mudbill - 03-08-2014, 11:42 PM
RE: Starting items - by Straxedix - 03-09-2014, 12:14 AM
RE: Starting items - by RaideX - 03-09-2014, 11:30 AM
RE: Starting items - by Straxedix - 03-09-2014, 10:58 PM



Users browsing this thread: 2 Guest(s)