Interior problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Interior problem (
/showthread.php?tid=450078)
Interior problem -
LilBob - 11.07.2013
This is my interior for san news in los santos:
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;
}
But when i enter in it, interior is bugged, what is wrong in my code ??
Thanks
Re: Interior problem -
Konstantinos - 11.07.2013
What do you mean by "bugged"? Can you show us atleast a screenshot?
Re: Interior problem -
LilBob - 11.07.2013
Here is one, when i'm in.
Re: Interior problem -
Konstantinos - 11.07.2013
Then interior is incorrect then. Go in-game, where you want and type /interior. It will show which one is your current interior.
Re: Interior problem -
LilBob - 11.07.2013
It says: current interior: 1
Re: Interior problem -
Konstantinos - 11.07.2013
When it says interior 1, is the background normal or just like the picture? I meant when it was the normal way!
Re: Interior problem -
LilBob - 11.07.2013
It was even so^^
Re: Interior problem -
WorldWideGaming - 11.07.2013
You should set objects interior to 1 to
Re: Interior problem -
LilBob - 11.07.2013
Quote:
Originally Posted by WorldWideGaming
You should set objects interior to 1 to
|
To what ?^^
Re: Interior problem -
WorldWideGaming - 11.07.2013
To 1
forget the other what