28.08.2016, 10:42
Hey guys. I have this problem on house system. When i create house it works fine and everything is created as it should. Then i buy house and it sends me to interior and that is fine too. But i can't get out of house. I can't exit it
There it is. When i am on exit coords it should spawn me on enter coords. I have no idea what is wrong
__________________
PHP код:
if(IsPlayerInRangeOfPoint(playerid, 3.0, KucaInfo[i][kIzlazX], KucaInfo[i][kIzlazY], KucaInfo[i][kIzlazZ]) && GetPlayerVirtualWorld(playerid) == KucaInfo[i][kVW])
{
SetPlayerPos(playerid, KucaInfo[i][kUlazX], KucaInfo[i][kUlazY], KucaInfo[i][kUlazZ]);
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
}
__________________