How to make a interior?
#1

Hi!

I'm woundering how to make a interior to houses (On a easy way!) And aslo pleas tell me where I will put the code thanks!

Edit: (Enterable house) So u can get inside the house....
Reply
#2

Help please! :
Reply
#3

Please explain "make a interior" ?
Reply
#4

damn, I've been looking for the same thing. I really hope someone might help us.
Reply
#5

You can map it ANYWHERE you want, and then the convert the code and then add it in OnGameModeInit(I think).
Reply
#6

Quote:

if(strcmp(cmdtext, "/cjhouse", true) == 0)
{
SetPlayerInterior(playerid, 3); //put the interior id here
SetPlayerVirtualWorld(playerid, 0);
SetPlayerPos(playerid,2496.049804,-1695.238159,1014.742187);
SendClientMessage(playerid, 0x33CCFFAA, "You have Teleported to cj'house");
return 1;
}

this is the interior script to cjs house.
+rep please.
Reply
#7

Quote:
Originally Posted by ThamburaaN
View Post
this is the interior script to cjs house.
+rep please.
You mean how to know all interiorid and positions?

Well just look at these https://sampwiki.blast.hk/wiki/InteriorIDs
You have interiorid, x,y and z pos.
That's all you need.

Best regards
-P
Reply
#8

Quote:
Originally Posted by ThamburaaN
View Post
this is the interior script to cjs house.
+rep please.
Hmm I don't mean a teleport I just mean how to get inside a house interior.. Thanks very much anyway
Reply
#9

Quote:
Originally Posted by davve95
View Post
Hmm I don't mean a teleport I just mean how to get inside a house interior.. Thanks very much anyway
You need to SetPlayerPos and SetPlayerInterior to enter some interiors (withous Enter-Exit Interior enabled)

Edit: Sorry I red now the response :P
Good luck with your work then!
Reply
#10

Quote:
Originally Posted by Phanto90
View Post
You need to SetPlayerPos and SetPlayerInterior to enter some interiors (withous Enter-Exit Interior enabled)

Edit: Sorry I red now the response :P
Good luck with your work then!
Thanks! And thanks anyway when u tryd to help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)