How to know or set interiors in SAMP
#1

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

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

https://sampwiki.blast.hk/wiki/Interiors
Reply
#3

Ingame type /Interior
Reply
#4

edit: answer is above.
Reply
#5

i type interior but it keeps telling me unknown command
Reply
#6

Could you please tell me a bit more.

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

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
Reply
#8

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
Reply
#9

how to switch interior fastly
Reply
#10

What? What do you mean with "fastly"?
Reply
#11

i want to switch interiors fastly. Like /interior id
Reply
#12

how to switch interior in game
Reply
#13

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


Forum Jump:


Users browsing this thread: 2 Guest(s)