07.08.2015, 04:41
Why not just store all the positions? This won't hurt the server's performance at all, it's just a bit more memory which is not noticeable at all.
You can also try something such as this to return just the Y:
You can also try something such as this to return just the Y:
pawn Код:
Float:returnYPos(playerid)
{
new Float: x, Float: y, Float: z;
GetPlayerPos(playerid, x, y, z);
return y;
}