NPC Interior - 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)
+--- Thread: NPC Interior (
/showthread.php?tid=637255)
NPC Interior -
Amit1998 - 11.07.2017
Hey,
I'm trying to set the NPCs interior using the following code, but it doesnt seem to work, any tips?
I tried putting it in all sorts of place(such as OnPlayerSpawn and OnPlayerConnect)
Код:
if(IsPlayerNPC(playerid)) { SetPlayerInterior(playerid, 13); return 1; }
What seems to be the problem? Thanks.