30.10.2014, 21:48
Hi, I cant get my player pos when i set it :/
new Floatos[3];
SetPlayerFacingAngle(playerid, ExitAngle);
SetPlayerPos(playerid, ExitX, ExitY, ExitZ);
GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
GetXYInFrontOfPlayer(playerid, pos[0], pos[1], 4.0);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
and i spawn at the same position i was onlye interior and virtual world changes...
HELP!
new Floatos[3];
SetPlayerFacingAngle(playerid, ExitAngle);
SetPlayerPos(playerid, ExitX, ExitY, ExitZ);
GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
GetXYInFrontOfPlayer(playerid, pos[0], pos[1], 4.0);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
and i spawn at the same position i was onlye interior and virtual world changes...
HELP!