Set Interiors of Faction (Raven's Roleplay) -
DexterBR - 17.11.2012
How can i set factions's interiors ?
I've tried put using interiors IDs, replacing all entrances on the GM, but when i try enter by the door, character is teleported to sky, and fall ...
There is something about virtual world, another mistake, or thing that i had forgot?
Thanks for support guys
Re: Set Interiors of Faction (Raven's Roleplay) -
Kreyg - 18.11.2012
Are you setting the PlayerInfo[playerid][pInteriorNr] or are you using
SetPlayerInterior(playerid, INT);?
Respuesta: Set Interiors of Faction (Raven's Roleplay) -
[CG]Milito - 18.11.2012
it's clearly a SetPlayerVirtualWorld error
Re: Set Interiors of Faction (Raven's Roleplay) -
DexterBR - 18.11.2012
I want change interior of some factions, putting int's of casinos
Re: Set Interiors of Faction (Raven's Roleplay) -
Kreyg - 18.11.2012
Can you show us the code you're working with?
Re: Set Interiors of Faction (Raven's Roleplay) -
DexterBR - 18.11.2012
I just change 'teleport' locations, but doesnt work.
These are the locations that interiors coordinates appear. I just change it
Код:
else if (IsPlayerInRangeOfPoint(playerid, 1,1298.7075,-798.5981,84.1406))
{
//La Famiglia Sinatra gang hq
if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
{
SafeSetPlayerPos(playerid, 1254.3436,-789.3809,1084.0078);
GameTextForPlayer(playerid, "~w~La Famiglia Sinatra HQ",5000,1);
SafeSetPlayerInterior(playerid,5);
SetPlayerFacingAngle(playerid, 181);
PlayerInfo[playerid][pInteriorNr] = 31;
}
else if(hqlock[luclock] == 0)
{
SafeSetPlayerPos(playerid, 1254.3436,-789.3809,1084.0078);
GameTextForPlayer(playerid, "~w~La Famiglia Sinatra HQ",5000,1);
SafeSetPlayerInterior(playerid,5);
SetPlayerFacingAngle(playerid, 181);
PlayerInfo[playerid][pInteriorNr] = 31;
}
else
{
GameTextForPlayer(playerid, "~r~Locked",5000,1);
}
}
Код:
if (IsPlayerInRangeOfPoint(playerid, 3,1298.7075,-798.5981,84.1406))
{
SafeSetPlayerInterior(playerid,5);
GameTextForPlayer(playerid, "~r~Breached the door", 5000, 1);
SafeSetPlayerPos(playerid, 1254.3436,-789.3809,1084.0078);
Re: Set Interiors of Faction (Raven's Roleplay) -
DexterBR - 18.11.2012
Quote:
Originally Posted by Kreyg
Can you show us the code you're working with?
|
Already been posted
Re: Set Interiors of Faction (Raven's Roleplay) -
DexterBR - 20.11.2012
Anyone can help?
Re: Set Interiors of Faction (Raven's Roleplay) -
dino_d_carter - 19.12.2012
Quote:
SafeSetPlayerInterior(playerid,5);
|
Change that to the int.
Re: Set Interiors of Faction (Raven's Roleplay) -
DiGiTaL_AnGeL - 09.02.2013
You don't have to change only the int, change the position too.