Not all interiors working - 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: Not all interiors working (
/showthread.php?tid=562124)
Not all interiors working -
Flokx - 07.02.2015
Some interior works, others doesn't. Here's my code.
Код:
SetPlayerInterior( playerid, GetGVarInt( "Interior", house_id ) );
SetPlayerPos( playerid, GetGVarFloat( "IntX", house_id ), GetGVarFloat( "IntY", house_id ), GetGVarFloat( "IntZ", house_id ) );
Please help anyone? Does virtual world matter?
Re: Not all interiors working -
Gammix - 07.02.2015
Quote:
Originally Posted by Flokx
Some interior works, others doesn't. Here's my code.
Код:
SetPlayerInterior( playerid, GetGVarInt( "Interior", house_id ) );
SetPlayerPos( playerid, GetGVarFloat( "IntX", house_id ), GetGVarFloat( "IntY", house_id ), GetGVarFloat( "IntZ", house_id ) );
Please help anyone? Does virtual world matter?
|
It might be a wrong interior id or wrong position.
Virtual world matter if that is a custom interior made for a specific world id. SAMP's interiors work for all sorts of world ids!
Re: Not all interiors working -
Flokx - 07.02.2015
I am using gta intriors and got cordinates from samp wiki. The why strip clubs only works nothing else.
Re: Not all interiors working -
HazardouS - 07.02.2015
Make sure you are saving interiors and coordinates correctly. You can add debug messages to see where the game teleported you and check the debug data with the reference coordinates.