Results 1 to 4 of 4

Thread: Error script

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private
    Join Date
    Jan 2019
    Posts
    15
    Thanks
    4
    Thanked 2 Times in 2 Posts

    Error script

    Hey Guys, could you help me see the problem? Thx.


    PHP Code:
    ******* script runtime error *******
    undefined is not an entity: (file 'scripts/shop.gsc'line 330)
     
    weap hide();
     *
    called from:
    (
    file 'scripts/shop.gsc'line 107)
     for(
    i=0;i<randomboxes.size;i++) randomboxes[ithread randombox(randomweaps[i]);
                                                           *
    called from:
    (
    file 'scripts/ballerina.gsc'line 550)
        
    thread scripts\shop::init();
               *
    called from:
    (
    file 'maps/mp/gametypes/_callbacksetup.gsc'line 15)
      [[
    level.callbackStartGameType]]();
              *
    started from:
    (
    file 'maps/mp/gametypes/_callbacksetup.gsc'line 10)
    CodeCallback_StartGameType()
    *
    ************************************
    Error during initialization:
    script runtime error
    (see console for details)
    (
    file 'maps/mp/gametypes/_callbacksetup.gsc'line 10
    ---------------------------it concerns this below
    PHP Code:
    randombox(weap)
    {
        
    weap hide();
        
    weap.origin;
        
    cost 500;
        
        
    // init set of weapons in this randombox
        
    self.weapons = [];
        
    self.weaponsModel = []; 
    Last edited by Mitch; 9th January 2019 at 18:44. Reason: use php or code tags!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •