fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
BitStream bit; bit.Write(); SF->getRakNet()->SendRPC(id RPC,&bit,HIGH_PRIORITY,RELIABLE_ORDERED,0,0);
SF->getSAMP()->disconnect(0); SF->getSAMP()->getInfo()->RestartGame();
#define FUNC_RESTARTGAME 0x9280 #define SAMP_INFO_OFFSET 0x212A80 void restartGame () { DWORD g_dw_SAMP_Addr = (DWORD)GetModuleHandle("samp.dll"); uint32_t samp_info = g_dw_SAMP_Addr + SAMP_INFO_OFFSET; uint32_t func = g_dw_SAMP_Addr + FUNC_RESTARTGAME; __asm mov eax, dword ptr[samp_info] __asm mov ecx, dword ptr[eax] __asm call func __asm pop eax __asm pop ecx }