PDA

View Full Version : NPC Interior


Amit1998
11/07/2017, 03:14 PM
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.