Not all interiors working
#1

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?
Reply
#2

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!
Reply
#3

I am using gta intriors and got cordinates from samp wiki. The why strip clubs only works nothing else.
Reply
#4

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)