Entering interiors
#1

Hi guys,

Is it possible to enter interior in sa-mp without SetPlayerInterior function? And without Pay 'n' spray(OnEnterExitModShop callback). Because I want to make anti- teleport to interior's...
Reply
#2

No,if you want to do that you can do something like
Код:
if(GetPlayerInterior(playerid) > 0)
{
SendClientMessage(playerid, COLOR, " You can not teleport to a interior");
}
Reply
#3

So, without Pay 'n' spray and SetPlayerInterior it's impossible, I understand correctly? Thanks.
Reply
#4

Yes, correct. Rep please :P
Reply
#5

Rep? For what? Spamming?

https://sampwiki.blast.hk/wiki/OnPlayerInteriorChange
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)