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.13 (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
Error expected method or property
Icaab2608 Offline
Member

Posts: 85
Threads: 37
Joined: Jul 2013
Reputation: 0
#1
Error expected method or property

When the launch his mod, I get here this error:[img][Image: bandicam20_4823027_15847164.jpg][/img]

PHP Code: (Select All)
const string BUTTONS_GO_TIMER "BUTTONS_GO_TIMER_CALLBACK"
 
 class 
ButtonsGo
    
{

            if(
event.KeyInput.PressedDown == true)
            {

                if (
event.KeyInput.Key==KEY_KEY_A)
                    
left=true;
                    {
                    
AddPropForce("barrel01_1"00300"World");
                    
AddPropImpulse("barrel01_1"005000"world");
                    }
                    
            if(
event.KeyInput.PressedDown == false)
            {

                if (
event.KeyInput.Key==KEY_KEY_A)
                    
left=false;
                    {
                    
AddPropForce("barrel01_1"00, -300"World");
                    
AddPropImpulse("barrel01_1"00, -5000"world");
                    }
                }

     }
     
     
ButtonsGo Buttons_obj_1;

void BUTTONS_GO_TIMER_CALLBACK(string &in timer_name)
    { 
Buttons_obj_1.Update(timer_name); } 
01-31-2015, 08:34 PM
Find


Messages In This Thread
Error expected method or property - by Icaab2608 - 01-31-2015, 08:34 PM



Users browsing this thread: 1 Guest(s)