(adsbygoogle = window.adsbygoogle || []).push({});
Well thanks to Winter I have got teleporting to work - i can save a location (where I have been stood) and come back there.
So now I am wanting to use custom teleport points (with a view to use them more for entity spawning). I have got;
void teleportToXYZ(int client, float *x, float *y, float *z) {
float *Origin[3] = { x, y, z };
PS3::WriteFloat((Offsets::Teleport + 0x3980 * client), Origin, 3);
}
But when I call it using
teleportToXYZ(0,0,0,0); vs2010 is fine and lets me build it. However when I try to change the xyz portion, vs2010 says the*following "came up as being incompatible with float*;"
0.01f - float
100 - int
100f - threw up 3 errors
0.100 - double
Does anyone knkw why this is?