The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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 Script Error
MaksoPL Offline
Member

Posts: 51
Threads: 26
Joined: Mar 2014
Reputation: 0
#1
Script Error

Hi. My next script error. main (11,1) ERR: Unexpected token. That's my script:


void OnStart()
{
AddEntityCollideCallback("Player","alexander1","Message1",true,1);
}

void Message1(string &in asChild, string &in asParent, int alState)
{
SetMessage("Messages","Alexander",10);
}

{
AddUseItemCallback("","key1","door1","Door",true);
}

void Door (string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("door1",false,true);
PlaySoundAtEntity("","unlock_door","door1",1,false)
}
03-30-2014, 08:20 PM
Find


Messages In This Thread
Script Error - by MaksoPL - 03-30-2014, 08:20 PM
RE: Script Error - by Romulator - 03-30-2014, 09:04 PM
RE: Script Error - by MaksoPL - 03-30-2014, 09:07 PM
RE: Script Error - by Neelke - 03-30-2014, 09:21 PM
RE: Script Error - by 7heDubz - 03-30-2014, 10:26 PM



Users browsing this thread: 1 Guest(s)