11.07.2013, 13:26
This is my interior for san news in los santos:
But when i enter in it, interior is bugged, what is wrong in my code ??
Thanks
pawn Код:
if(PlayerToPointStripped(2.0, playerid,1570.7996,-1337.1469,16.4844,cx,cy,cz))
{ // Journaliste : Entrйe
SetInterior(playerid,1);
SetVirtualWorld(playerid,0);
FreezePlayer(playerid,"Entrance in San News");
Streamer_Update(playerid);
SetTimerEx("UnfreezePlayer",2000,false,"d",playerid);
SetPlayerPos(playerid,690.6924,-1361.1265,-61.0431);
return 1;
}
if(PlayerToPointStripped(2.0, playerid,690.6924,-1361.1265,-61.0431,cx,cy,cz))
{ // Journaliste : Sortie
SetInterior(playerid,0);
SetVirtualWorld(playerid,0);
SetPlayerPos(playerid,1570.7996,-1337.1469,16.4844);
return 1;
}
Thanks