QuestionAjuda - AimCorrection

Posts 31–39 of 39 · Page 3 of 3
Quote Originally Posted by Chitozana View Post
Pronto agora está correto !
Onde está o correto ? rsrsrs
Quote Originally Posted by Megaloco View Post
Onde está o correto ? rsrsrs
Code:
//fora do seu present
INT Correction;

Mude isso :

//dentro do seu present
AimCorrection(Correction);

AdicionarItem("AimCorrection",Correction,1,optOnOff);
Quote Originally Posted by Chitozana View Post
Code:
Mudei aqui e deu esse erro..

void AimCorrection(Correction)
{
if( !StoreWepData )
{
cWeaponMgr* WepMgr = *(cWeaponMgr**)WeaponManager;

error C2448: 'AimCorrection' : function-style initializer appears to be a function definition
Quote Originally Posted by Megaloco View Post
Mudei aqui e deu esse erro..

void AimCorrection(Correction)
{
if( !StoreWepData )
{
cWeaponMgr* WepMgr = *(cWeaponMgr**)WeaponManager;

error C2448: 'AimCorrection' : function-style initializer appears to be a function definition
Não é ai onde você tem que mudar

void AimCorrection(INT Correct)

deixa assim

e adiciona no seu present :

AimCorrection(Correction);
Itens.h
Code:
//Variaveis dos Hackers.
INT gchams, gfog, gcrosshair, gspeed, PickUp, Jump;
bool gnxchams, gfogs, bPickup, bJump;
INT gspeedx1;

AimCorrection(Correction);



//Chaves do menu
CHAR *Opt_on_off[] = { "Des", "Lig" };

VOID cMenu::RenderMenu(VOID)
{
        AdicionarItem("Inimigos", Opt_on_off, &gchams, 2, MENUITEM);
		AdicionarItem("AimCorrection", Opt_on_off, &Correction, 2, MENUITEM);
AimCorrection.h

Code:
#pragma warning(disable: 4244)

INT Correction;

#include "Classes.h"
#include "Itens.h"



bool SetWepData = true, StoreWepData = false;
float OgAwepData[20][1000];

void AimCorrection( bool Correct )
{
	if( !StoreWepData )
	{
		cWeaponMgr* WepMgr = *(cWeaponMgr**)WeaponManager;
			
		if( WepMgr )
		{
			for( int i = 0; i < WepMgr->WeaponCount; i++ )
1>c:\users\usuario\downloads\combat arms\bases\baseatual\baseatual\itens.h(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\usuario\downloads\combat arms\bases\baseatual\baseatual\itens.h(24) : error C2365: 'AimCorrection' : redefinition; previous definition was 'function'
1> c:\users\usuario\downloads\combat arms\bases\baseatual\baseatual\aimcorrection.h(12) : see declaration of 'AimCorrection'
Quote Originally Posted by Megaloco View Post
Itens.h
Code:
//Variaveis dos Hackers.
INT gchams, gfog, gcrosshair, gspeed, PickUp, Jump;
bool gnxchams, gfogs, bPickup, bJump;
INT gspeedx1;

AimCorrection(Correction);



//Chaves do menu
CHAR *Opt_on_off[] = { "Des", "Lig" };

VOID cMenu::RenderMenu(VOID)
{
        AdicionarItem("Inimigos", Opt_on_off, &gchams, 2, MENUITEM);
		AdicionarItem("AimCorrection", Opt_on_off, &Correction, 2, MENUITEM);
AimCorrection.h

Code:
#pragma warning(disable: 4244)

INT Correction;

#include "Classes.h"
#include "Itens.h"



bool SetWepData = true, StoreWepData = false;
float OgAwepData[20][1000];

void AimCorrection( bool Correct )
{
	if( !StoreWepData )
	{
		cWeaponMgr* WepMgr = *(cWeaponMgr**)WeaponManager;
			
		if( WepMgr )
		{
			for( int i = 0; i < WepMgr->WeaponCount; i++ )
1>c:\users\usuario\downloads\combat arms\bases\baseatual\baseatual\itens.h(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\usuario\downloads\combat arms\bases\baseatual\baseatual\itens.h(24) : error C2365: 'AimCorrection' : redefinition; previous definition was 'function'
1> c:\users\usuario\downloads\combat arms\bases\baseatual\baseatual\aimcorrection.h(12) : see declaration of 'AimCorrection'

Erradissimo.

Tem TV ?
Ainda resolvo isso...rsrsrs
Posts 31–39 of 39 · Page 3 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?