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
quick question. script fatal error small script
Hartmann Offline
Member

Posts: 52
Threads: 18
Joined: Jun 2012
Reputation: 0
#1
quick question. script fatal error small script

I get a Fatal error when i load this script. anyone see the mistak


void OnStart()

{
AddEntityCollideCallback("Player", "PlayerCollide", "MonsterFunction", true, 1);
}

void MonsterFunction(string &in asParent, string &in asChild, int alState)

{
SetEntityActive("servant_grunt_1", true);
}

////////////////////////////
// Run when leaving map
void OnLeave()
06-21-2012, 06:50 PM
Find


Messages In This Thread
quick question. script fatal error small script - by Hartmann - 06-21-2012, 06:50 PM



Users browsing this thread: 1 Guest(s)