I got error :
maybe becouse my code (number is big)Code:1>c:\users\georgi\documents\visual studio 2010\projects\mfs\mfs\configs.cpp(302): warning C4305: 'argument' : truncation from '__int64' to 'INT'
Code:// Max Zen Config bool MaxZen ( char * ini ) { DWORD MaxZ; MaxZ = GetPrivateProfileInt("Zen","MaxZen_Inventory",200000000000,ini); *(unsigned int*) GS_MAX_ZEN = MaxZ ; MaxZ = GetPrivateProfileInt("Zen","MaxZen_Vault",100000000000,ini); *(unsigned int*) GS_MAX_ZEN_W = MaxZ ; MaxZ = GetPrivateProfileInt("Zen","MaxZen_Vault2",200000000000,ini); *(unsigned int*) GS_MAX_ZEN_W2 = MaxZ ; MaxZ = GetPrivateProfileInt("Zen","MaxZen_Vault3",300000000000,ini); *(unsigned int*) GS_MAX_ZEN_W3 = MaxZ ; return 1; } //End




Reply With Quote