PostWarRock Philippines Structs

Posts 16–30 of 51 · Page 2 of 4
Pano po yan gamitin mga Sir !! ?
Newbie bago lang !!
Sir how to code an this struck? i am newbie... please help thank AeronMan...
bumping old tread dzzz
Quote Originally Posted by AeroMan View Post
Intrested in ZOMBIE-OPK?
Code:
cplayer* GetPlayer(int index)
{
        DWORD dwUserpointer = *(DWORD*)ADR_UserBase + 4 * index;
        if(index > 32 || !dwUserpointer)return 0;
    return (player*)*(DWORD*)(dwUserpointer);
}
	if(ZombieOPK)
	{
		if( g_pBase->cPlayer )
		{
			for(int i=0; i < 32; i++)
			{
				int iSelected = ZombieDist;
				cplayer *A_Player = GetPlayer(i);
				A_Player->ofs_x = g_pBase->cPlayer->ofs_x + (i * iSelected); // current + distance
				A_Player->ofs_y = g_pBase->cPlayer->ofs_y + (i * iSelected); // current + distance
				A_Player->ofs_z = (i*0);
			}
		}
	}
Master can u show Example Complete Code For Your Struct ?..BEgginer Here!!
Quote Originally Posted by AeroMan View Post
Intrested in ZOMBIE-OPK?
Code:
cplayer* GetPlayer(int index)
{
        DWORD dwUserpointer = *(DWORD*)ADR_UserBase + 4 * index;
        if(index > 32 || !dwUserpointer)return 0;
    return (player*)*(DWORD*)(dwUserpointer);
}
	if(ZombieOPK)
	{
		if( g_pBase->cPlayer )
		{
			for(int i=0; i < 32; i++)
			{
				int iSelected = ZombieDist;
				cplayer *A_Player = GetPlayer(i);
				A_Player->ofs_x = g_pBase->cPlayer->ofs_x + (i * iSelected); // current + distance
				A_Player->ofs_y = g_pBase->cPlayer->ofs_y + (i * iSelected); // current + distance
				A_Player->ofs_z = (i*0);
			}
		}
	}
this is the one that you give me right? hahahah
even the grade school student can understand how to structs coz it very simple, I will gave you a tip guyz, structs needed conversion from hex to dec, subtraction and addition and BOOM..... calculate it guyz, lol
Quote Originally Posted by coolbuster346 View Post
even the grade school student can understand how to structs coz it very simple, I will gave you a tip guyz, structs needed conversion from hex to dec, subtraction and addition and BOOM..... calculate it guyz, lol
sos nag salita ang maalam hihih
Quote Originally Posted by nokia6288 View Post
sos nag salita ang maalam hihih
May int coders dumadaan dito di ka nya maintindihan
Quote Originally Posted by coolbuster346 View Post
even the grade school student can understand how to structs coz it very simple, I will gave you a tip guyz, structs needed conversion from hex to dec, subtraction and addition and BOOM..... calculate it guyz, lol
lolz....
you can struct using reclass but much better to calculate it, lol
/closed bumping old treads
Posts 16–30 of 51 · Page 2 of 4
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?