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
I can't get my script to work D:
Wrathborn771 Offline
Junior Member

Posts: 45
Threads: 10
Joined: Jun 2012
Reputation: 0
#1
I can't get my script to work D:

Hello,
I've come up with a script, based on a function I found at: http://wiki.frictionalgames.com/hpl2/amn..._functions

This is what it looks like:

void OnStart()
{
void Jump1(string& asName, string& asCallback);
}
Jump1("Player", "Thanks", "OnPickup");
{
SetEntityActive("bro_1", true);
AddTimer("", 200.4, "scared");
}
void scared(string &in asTimer)
{
SetEntityActive("bro_1", false);

I get the Fatal Error: Expected identifier all the time :/
I'm sure it's a super-easy-noob-error, because this is the very first time I script without using a tutorial on what/where to type..

Thank you for taking your time and reading this Wink
06-28-2012, 06:23 PM
Find


Messages In This Thread
I can't get my script to work D: - by Wrathborn771 - 06-28-2012, 06:23 PM
RE: I can't get my script to work D: - by Datguy5 - 06-28-2012, 10:36 PM
RE: I can't get my script to work D: - by Datguy5 - 06-29-2012, 12:01 AM
RE: I can't get my script to work D: - by Datguy5 - 06-30-2012, 03:39 PM
RE: I can't get my script to work D: - by EXAWOLT - 06-30-2012, 03:48 PM
RE: I can't get my script to work D: - by EXAWOLT - 06-30-2012, 04:49 PM
RE: I can't get my script to work D: - by Cruzore - 06-30-2012, 04:51 PM
RE: I can't get my script to work D: - by Cruzore - 07-01-2012, 12:25 AM
RE: I can't get my script to work D: - by Cruzore - 07-01-2012, 11:59 AM



Users browsing this thread: 1 Guest(s)