[HELP]How to set player inside a interior?
#1

case 1, 2:
{
SetPlayerVirtualWorld(playerid, 12);
SetPlayerPos (playerid, 328.493988,1480.589966,1084.449951);
SetPlayerInterior (playerid, 15);
SetPlayerCameraPos(playerid, 2419.3413,-1682.3987,13.7442);
SetPlayerCameraLookAt(playerid, 2422.1960,-1682.1135,13.799;
GameTextForPlayer(playerid, "~g~Grove Street Families", 5000, 5);
ApplyAnimation(playerid, "SPRAYCAN", "spraycan_fire", 4.1, 1, 1, 1, 1, 1, 1);
SetPlayerColor(playerid, 0x00FF0096);
gTeam[playerid] = TEAM_GS;
}
}
Reply
#2

You did....
Reply
#3

The coordinates you have specified probably don't match the location of the interior. Every interior has a location in the SA map plus an ID.

Refer to the following websites to find the coordinates and the interior ID of each interior:
http://weedarr.wikidot.com/interior
https://sampwiki.blast.hk/wiki/InteriorIDs
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)