if(fastknife){
if (pWeaponMgr)
{
for(int i=0 ; i<700 ; i++)
{
DWORD Wep = *(DWORD*)(*Weapon + 4*i)
if(Wep!= NULL)
{
for(int y = 0; y<10; y++)
{
*(float*)( Wep + (FastKnife1 + (4*y))) = 3.5f;
*(float*)( Wep + (FastKnife1 + (4*y))) = 3.5f;
}
}
}
}
}
problem :
1>------ Build started: Project: geraLd, Configuration: Release Win32 ------
1> dllmain.cpp
1>dllmain.cpp(27): error C2059: syntax error : 'if'
1>dllmain.cpp(28): error C2143: syntax error : missing ';' before '{'
1>dllmain.cpp(28): error C2447: '{' : missing function header (old-style formal list?)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
What Should i do ? Help please ..