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 Error
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#3
RE: Script Error

Some of your voids have closing brackets instead of closing braces.

PHP Code: (Select All)
void gameover1(string &in asParentstring &in asChildint alState)
{
GivePlayerDamage(25Slashtruefalse);
)  
//Here's one. Make it a } instead of a ).

void silence(string &in asParentstring &in asChildint alState)
{
StopMusic(05);
)  
//Another.

void gameover2(string &in asParentstring &in asChildint alState)
{
GivePlayerDamage(25Slashtruefalse);
//Another.

//More code.

void OnPickup(string &in asEntitystring &in type)
{
  
SetEntityActive("afteroil"true);
)  
//Another. 

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 08-23-2014, 01:47 PM by Romulator.)
08-23-2014, 01:46 PM
Find


Messages In This Thread
Script Error - by giacomo9 - 08-23-2014, 01:31 PM
RE: Script Error - by PutraenusAlivius - 08-23-2014, 01:43 PM
RE: Script Error - by Romulator - 08-23-2014, 01:46 PM
RE: Script Error - by giacomo9 - 08-23-2014, 02:03 PM



Users browsing this thread: 1 Guest(s)