Why my weaponspawner doesnt work?

Posts 1–3 of 3 · Page 1 of 1
Why my weaponspawner doesnt work?
Code:
void WeaponSpawn()
{
	if((*(BYTE *)GameStatus == 1) &&  Spawn) {
		if(GetAsyncKeyState(VK_DELETE)&1)
		{
			g_LTClient = *(CLTClient**)LTClientDLL; 
			g_CommonLT =  g_LTClient->Common();
			
			CAutoMessage Msg;
	        	Msg.Writeuint8 (50);
				Msg.Writeuint8 (1);	
				Msg.Writeuint8 (1);
				Msg.Writeuint8 (1);
				Msg.Writeuint8 (1);	
				Msg.Writeuint8 (1);
				Msg.Writeuint8 (264);
				Msg.Writeuint8 (1);
				Msg.Writeuint8 (1);
			g_LTClient-> SendToServer (Msg.Read (), MESSAGE_GUARANTEED);
			keybd_event (0x33, 0,0,0);
			
		}
	}
}
thats my source and how i activate it is:

Code:
	if (Spawn) {
		WeaponSpawner();

		}
When i’m ingame and activate Spawner + press Delete Nothing happens..
Any Idea’s or someone can help me tough TV maybe?
Well thnx for the help ty.
Code:
void WeaponSpawn(int ID,LPDIRECT3DDEVICE9 pDevice)
{
 if((*(BYTE *)GameStatus == 1) && (GetAsyncKeyState(VK_DELETE)<0))
	{  
        if(Base.ValidPointer(g_LTClient))  
        {  
            CAutoMessage Msg;  
            Msg.Writeuint8(50);  
            Msg.Writeuint8(1);      
            Msg.Writeuint8(1);  
            Msg.Writeuint8(1);  
            Msg.Writeuint8(1);      
            Msg.Writeuint8(1);  
            Msg.Writeuint16(ID);  
            Msg.Writeuint8(1);  
            Msg.Writeuint8(1);  
            g_LTClient->SendToServer(Msg.Read(), MESSAGE_GUARANTEED);  
            keybd_event(0x33,0,0,0);  
           weaponspawn = 0;  
        }  
        else  
        {  
            g_LTClient = *(CLTClient**)LTClientDLL;  
            g_CommonLT = g_LTClient->Common();  
            return;  
        }  
    }  
}
int weaponspawn

CHAR *Opt_Rifles_Assalto[] = {" off ", "MTAR21_CAMO", "SCAR-L_Trispear", "M4A1", "G36C"};

Code:
if(weaponspawn == 1) {
WeaponSpawn(199 , pDevice);// MTAR-21 CAMO
} else if(weaponspawn == 2) {
WeaponSpawn(99 , pDevice);// SCAR-L_Trispear 
} else if(weaponspawn == 3) {
WeaponSpawn(4 , pDevice);// M4A1
} else if(weaponspawn == 4) {
WeaponSpawn(115 , pDevice);// G36C
}
I tried your way ,, still nothing happened. (
Iam Using EU that might cause some trouble i guess?
Could you sent me your SDK ?
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us