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
SanityBoost script is giving me an error?
MissMarilynn Offline
Member

Posts: 77
Threads: 23
Joined: Oct 2011
Reputation: 1
#1
SanityBoost script is giving me an error?

So here is the scripting:

SetEntityPlayerInteractCallback("office_key", "IsItLockedComplete", true);



void IsItLockedComplete(string &in entity, int alState)
{
CompleteQuest("open_door_quest", "open_door");
GiveSanityBoost(5, true);
}

the error says it is a problem with the GiveSanityBoost command? I think it has something to do with (string &in entity, int alState).
10-20-2011, 07:48 PM
Find


Messages In This Thread
SanityBoost script is giving me an error? - by MissMarilynn - 10-20-2011, 07:48 PM



Users browsing this thread: 2 Guest(s)