Results 1 to 10 of 15

Thread: problem with my scripts

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private
    Join Date
    Aug 2013
    Posts
    95
    Thanks
    13
    Thanked 4 Times in 3 Posts
    mhm btw rocky, like you use this acc system, have you ever done "developper 1"?
    you will see problems, i am sure
    i tested your mod placed on killtube, i did developper 1 and many error
    i tried to do a mod zom, nothing of HUD atm, only quickoption and i placed bjuster taunts, i get script runtime error when i do "developper 1", if i open only the console, the server work but if i use V+6+1 (show fps) i get script runtime error
    HTML Code:
    ******* script runtime error *******
    pair 'undefined' and '0' has unmatching types 'undefined' and 'int': (file 'maps/mp/gametypes/_quickmessages.gsc', line 55)
          if(self.drawfps == 0)
                          *
    called from:
    (file 'maps/mp/gametypes/_zommenus.gsc', line 172)
        maps\mp\gametypes\_quickmessages::quickoptions(response);
        *
    started from:
    (file 'maps/mp/gametypes/_zommenus.gsc', line 56)
      self waittill("menuresponse", menu, response);
           *
    ************************************
    ********************
    ERROR: script runtime error
    (see console for details)
    (file 'maps/mp/gametypes/_zommenus.gsc', line 56)
    
    ********************
    ----- Server Shutdown -----
    Sending heartbeat to cod2master.activision.com
    ==== ShutdownGame ====
    Going to CS_ZOMBIE for ^2#^5ORDI^2~^0(fr)
    0:^2#^5ORDI^2~^0(fr) EXE_DISCONNECTED
    ---------------------------
    i wouldn't show you my scripts on killtube (because i do not want that other people here, use that) on xfire or teamviewer but i want to know where is the problem, i looked some mods found on internet, with a option menu and i tested, it bug also.
    so a person can help me, then contact me on xfire and i will show.
    xfire: ordi37zk

  2. #2
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 451 Times in 305 Posts
    Quote Originally Posted by ORDI View Post
    (show fps) i get script runtime error
    HTML Code:
    ******* script runtime error *******
    pair 'undefined' and '0' has unmatching types 'undefined' and 'int': (file 'maps/mp/gametypes/_quickmessages.gsc', line 55)
          if(self.drawfps == 0)
    the easiest way to fix this run time error is this:

    PHP Code:
    if(!isDefined(self.drawfps) || (isDefined(self.drawfps) && self.drawfps == 0))
         .... 

Posting Permissions

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