google-site-verification: googlebaca44933768a824.html a few errors - Old Royal Hack Forum

Announcement

Collapse
No announcement yet.

a few errors

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    a few errors

    i get errors here

    Code:
    if(base.m_psCvar->credits==1)
    {

    Client.cpp(256): error C2059: syntax error : 'if'
    Client.cpp(257): error C2143: syntax error : missing ';' before '{'
    Client.cpp(257): error C2447: '{' : missing function header (old-style formal list?)

    if have the base and cvars setup the same as everything in the hack.

    #2
    What are you actually trying to do? LOL?

    but you have the code in the wrong place
    Last edited by Tom; 07-25-2008, 02:33 PM.
    FUHRERS G0T HIS SWAGGA BACK

    Comment


      #3
      plz uninstall the compiler...you are destroying it. :wheelchair:
      I 0x90 you!

      Comment


        #4
        Originally posted by aVitamin View Post
        plz uninstall the compiler...you are destroying it. :wheelchair:
        Rofl <33
        FUHRERS G0T HIS SWAGGA BACK

        Comment


          #5
          Code:
          if(base.m_psCvar->credits == 1)
          {
          gGameConsole.printf("CREDITS: n");
          gGameConsole.printf("xr34p3rx n");
          }
          try that . .
          Feel free to PM me for help, I will reply when possible!

          Comment


            #6
            Originally posted by Sc1ppY View Post
            Code:
            if(base.m_psCvar->credits == 1)
            {
            gGameConsole.printf("CREDITS: n");
            gGameConsole.printf("xr34p3rx n");
            }
            try that . .
            Finally someone that hasen't responed in criticism, bravo. :)

            Rep +1

            Regards,
            Atari.2600

            Comment


              #7
              ya i +reped him 2 even tho it didnt work i found it out tho it was up at the top of my code

              Comment


                #8
                if( base.m_psCvar->credits ==1 )
                {
                0;
                }

                Comment


                  #9
                  I didnt think the console credits could be toggled
                  FUHRERS G0T HIS SWAGGA BACK

                  Comment

                  Working...
                  X