10.12.2010, 15:07
How to set player's Spawn inside the HQ? So i have this one:
if (PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)//Barzini spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 964.0579,-53.2825,1001.1246);
PlayerInfo[playerid][pInt] = 240;
return 1;
}
But i don't know what coords i have to set on the line: SetPlayerPos, which will make the member of the Gang spawn inside his HQ. When i write this coords it have no spawn, is falls down in the air. Please help me.
If it will help:
1930.6481,1345.2162,9.9688 - these are the coords outside the HQ (where is the "i")
964.106994,-53.205497,1001.124572 - these are the coords of the HQ inside
Thank you.
if (PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)//Barzini spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 964.0579,-53.2825,1001.1246);
PlayerInfo[playerid][pInt] = 240;
return 1;
}
But i don't know what coords i have to set on the line: SetPlayerPos, which will make the member of the Gang spawn inside his HQ. When i write this coords it have no spawn, is falls down in the air. Please help me.
If it will help:
1930.6481,1345.2162,9.9688 - these are the coords outside the HQ (where is the "i")
964.106994,-53.205497,1001.124572 - these are the coords of the HQ inside
Thank you.