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
What's wrong with this script?
Shadowfied Offline
Senior Member

Posts: 261
Threads: 34
Joined: Jul 2010
Reputation: 5
#1
What's wrong with this script?

Sorry guys, I just can't find out why this script won't work.

Spoiler below!
PHP Code: (Select All)
void BlueRodFunc (string &in asItemstring &in asEntity)
{
    
RemoveItem(asItem);
    
SetEntityActive("BlueStatic"true);
    
AddGlobalVarInt("rodmachine"1);
    
GetGlobalVarInt("rodmachine");
    {
    if(
GetGlobalVarInt("rodmachine") == 0)
    
//..
    
}
    if(
GetGlobalVarInt("rodmachine") == 1)
    {
    
//..
    
}
    if(
GetGlobalVarInt("rodmachine") == 2)
    {
    
//..
    
}
    if(
GetGlobalVarInt("rodmachine") == 3)
    {
    
SetMessage("Messages""DoneRodsQuestM"0);
    
CompleteQuest("rodq""RodsQuest"); 
    }



Any ideas?

Current - Castle Darkuan
Other - F*cked Map
(This post was last modified: 02-27-2012, 12:08 PM by Shadowfied.)
02-27-2012, 10:35 AM
Find


Messages In This Thread
What's wrong with this script? - by Shadowfied - 02-27-2012, 10:35 AM
RE: What's wrong with this script? - by palistov - 02-27-2012, 10:50 AM



Users browsing this thread: 1 Guest(s)