Fo the save code i have:
if (GetAsyncKeyState(VK_SHIFT + VK_NUMPAD1))
{
the code for save the XYZ
}
And the GOTO code is:
if (GetAsyncKeyState(VK_NUMPAD1))
{
the code for get the cords of saved cords.
}
if(GetAsyncKeyState(VK_SHIFT)&1){
if(GetAsyncKeyState(VK_NUMPAD1)&1){
save s y z
}
}
if(GetAsyncKeyState(VK_NUMPAD1)&1){
teleport
}
if(GetAsyncKeyState(VK_SHIFT)&1 && GetAsyncKeyState(VK_NUMPAD1)&1)
{
save x y z
}
if(GetAsyncKeyState(VK_NUMPAD1)&1)
{
teleport
}