Quantcast

Jump to content

» «
Photo

How to make a console like thing?

6 replies to this topic
Rugz007
  • Rugz007

    Scripters ... roll out !

  • Members
  • Joined: 19 Apr 2014
  • India

#1

Posted 19 August 2014 - 03:40 PM

like... if we press a key.. it will disable the keys like the scripthook console and we can enter text in it and check the text?


LetsPlayOrDy
  • LetsPlayOrDy

    Too fast for ya

  • Members
  • Joined: 24 Aug 2013
  • United-States

#2

Posted 19 August 2014 - 03:42 PM

Use the BindConsoleCommand function.

Rugz007
  • Rugz007

    Scripters ... roll out !

  • Members
  • Joined: 19 Apr 2014
  • India

#3

Posted 19 August 2014 - 03:58 PM

thanks :p have to work on it 


byteMe420
  • byteMe420

    Fvck Everything

  • Members
  • Joined: 02 Jul 2014
  • United-States

#4

Posted 19 August 2014 - 04:40 PM

you have to make it from scratch using perframe draw


LetsPlayOrDy
  • LetsPlayOrDy

    Too fast for ya

  • Members
  • Joined: 24 Aug 2013
  • United-States

#5

Posted 19 August 2014 - 04:43 PM

^ If you are making a custom console, then yes. You would have to use PerFrameDrawing and then check keys for writing.

byteMe420
  • byteMe420

    Fvck Everything

  • Members
  • Joined: 02 Jul 2014
  • United-States

#6

Posted 19 August 2014 - 05:39 PM

his question sounds like he wants to make a console except the actual console stops all script events and i dont think he will be able to do that


leftas
  • leftas

    C++ for hacks/mods, C# for everything else.

  • Members
  • Joined: 13 Jun 2013
  • Lithuania

#7

Posted 19 August 2014 - 06:03 PM Edited by leftas, 19 August 2014 - 06:05 PM.

ScriptHook.net is open source, so you can check how Hazardx's did the console and may even edit it or try to translate to C#(You can use Direct3D in C#). And it's made by DirectX(Direct3D). I don't think that Hazardx made only perframedraw, I think you can use also Direct3D.

 

Best regards,

Paul.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users