28.04.2009, 16:44
How can I set interior for player in building?
It drop from sky.
help me please.
It drop from sky.
help me please.
Originally Posted by MenaceX^
Fix the interior..
|
SetPlayerInterior(playerid,interiorid);
Originally Posted by MenaceX^
Check the place's interiorid.
then in the command or where ever you set a player in this position, do pawn Код:
|
SetPlayerInterior(playerid, 17);
SetPlayerPos(playerid,-25.884499,-185.868988,1003.549988);
if(strcmp(cmdtext,"/247",true)==0)
{
SetPlayerInterior(playerid, 17);
SetPlayerPos(playerid,-25.884499,-185.868988,1003.549988);
return 1;
}
Originally Posted by NeRoSiS
Firstly, get your interior and co-ordinates from some where like the following https://sampwiki.blast.hk/wiki/InteriorIDs
For this example I will be using the first one on that web page, 24/7 1. As you can see it gives you a universe (Interior) ID and 3 co-ordinates. You will use the interior ID in the following. pawn Код:
SetPlayerPos(playerid, X, Y, Z); So from the example I am using I will do this. pawn Код:
pawn Код:
Hope I helped! |