Post: How to add a script c++ in a RichTextBox?
02-23-2011, 05:27 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I would like to add a script for example:

    doJump()
{
self setDvar("jump_height", 1000);
self setDvar("g_gravity", 150);
self setDvar("bg_fallDamageMaxHeight", 9999 );
self setDvar("bg_fallDamageMinHeight", 9998 );
self thread maps\mp\gametypes\_hud_message::hintMessage( "Jump activer" );
}


In a RichTextBox in .Net.

Can you help me?

Sorry for my bad english i'm French!
02-23-2011, 06:30 PM #2
Originally posted by pipoi26 View Post
I would like to add a script for example:

    doJump()
{
self setDvar("jump_height", 1000);
self setDvar("g_gravity", 150);
self setDvar("bg_fallDamageMaxHeight", 9999 );
self setDvar("bg_fallDamageMinHeight", 9998 );
self thread maps\mp\gametypes\_hud_message::hintMessage( "Jump activer" );
}


In a RichTextBox in .Net.

Can you help me?

Sorry for my bad english i'm French!


You want to use code you found in Mw2 for Visual Basic? No
02-23-2011, 06:42 PM #3
I want this code appears with a button
02-23-2011, 06:46 PM #4
Originally posted by pipoi26 View Post
I want this code appears with a button


a button in mw2?
02-23-2011, 07:33 PM #5
Not on Microsoft Visual Basic I want to make a Mw2 code finder
02-23-2011, 07:55 PM #6
Drake
<3 SGC
Originally posted by pipoi26 View Post
Not on Microsoft Visual Basic I want to make a Mw2 code finder


I did this. It's easier in vB.net then it is in C++
02-23-2011, 08:01 PM #7
How did you do
02-24-2011, 03:29 PM #8
VB is hardly even programming tbh.
02-24-2011, 04:34 PM #9
I just want to know how to add a script MW2 c + + in a textbox
. Net
Help me Please
02-24-2011, 07:10 PM #10
Drake
<3 SGC
Originally posted by pipoi26 View Post
I just want to know how to add a script MW2 c + + in a textbox
. Net
Help me Please


Concept I used was you had a resorce file for each code.

So for discomode, you would have discomode.txt, and inside that the code.

THEN you would define that has a variable. Then textbox1.text = (discomode)

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo