SA-MP Forums Archive
How to know or set interiors in SAMP - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to know or set interiors in SAMP (/showthread.php?tid=196276)



How to know or set interiors in SAMP - Mehtab - 05.12.2010

i want to set a interior in samp. But how will i set interoir and what is the numbers


Re: How to know or set interiors in SAMP - Jakku - 05.12.2010

Setting interior - SetPlayerInterior(playerid, interiorid);
Getting interior - GetPlayerInterior(playerid);

https://sampwiki.blast.hk/wiki/Interiors


Re: How to know or set interiors in SAMP - [L3th4l] - 05.12.2010

Ingame type /Interior


Re: How to know or set interiors in SAMP - Haydz - 05.12.2010

edit: answer is above.


Re: How to know or set interiors in SAMP - Mehtab - 05.12.2010

i type interior but it keeps telling me unknown command


Re: How to know or set interiors in SAMP - Jakku - 05.12.2010

Could you please tell me a bit more.

Do you want to set/get a player's interior or make a whole new interior?


Re: How to know or set interiors in SAMP - Mehtab - 05.12.2010

in my server i want to see all interiors. i don't want to set player interior. i only want to go to that interior


Re: How to know or set interiors in SAMP - Jakku - 05.12.2010

Oh, well then do this

pawn Код:
if (strcmp("/int", cmdtext, true) == 0)
        {
                SetPlayerPos(playerid, 286.148987,-40.644398,1001.569946);
                SetPlayerInterior(playerid, 1);
        return 1;
        }
This will teleport you to an ammunation 1

E: Accicentally pressed enter too early


Re: How to know or set interiors in SAMP - Mehtab - 05.12.2010

how to switch interior fastly


Re: How to know or set interiors in SAMP - Jakku - 05.12.2010

What? What do you mean with "fastly"?


Re: How to know or set interiors in SAMP - Mehtab - 05.12.2010

i want to switch interiors fastly. Like /interior id


Re: How to know or set interiors in SAMP - Mehtab - 05.12.2010

how to switch interior in game


Re: How to know or set interiors in SAMP - Mehtab - 05.12.2010

thank you very much. i will take your name in my credit list