Hi all, if someone can help me i will thank a lot him.. so i'm trying to make my first memory hack for Combat Arms (my first hack ever was a D3D)... I've no error but when i Inject it, it doesn't work, i don't know why...
Here the source:

#include "stdafx.h"
#include <iostream>
#include <windows.h>

using namespace std;

#define lolasd 0x006D452C //Boxes
#define asdlol 0x37577868 //Unlimited Respawn


int main()
{ int *pb=(int *)lolasd;
int *pu=(int *)asdlol;



*pb = 1;
*pu = 1;

return 0;
}
maybe it doesn't work because the instruction for change the vaulue of adress is only one time... so i decided to make a infinite DO cycle, but nothing, pls, someone help me!