Jump to content

Question

Posted

Salut,deci am urmatorul script pentru spawn

[pawn] if (PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)  // Clanul Sportivilor Spawn

{

if(PlayerInfo[playerid][pLCNspawn] == 0) // Spawn primar

{

SetPlayerToTeamColor(playerid);

SetPlayerPos(playerid, 1171.4990,-2036.9609,69.0078);

SetPlayerFacingAngle(playerid, 270.0);

SetPlayerInterior(playerid,0);

PlayerInfo[playerid][pInt] = 1;

return 1;

}

if(PlayerInfo[playerid][pLCNspawn] == 1) // Spawn secundar

{

SetPlayerToTeamColor(playerid);

SetPlayerPos(playerid, -2212.0427,1056.7150,80.0131);

                SetPlayerFacingAngle(playerid, 270.0);

SetPlayerInterior(playerid,0);

PlayerInfo[playerid][pInt] = 0;

return 1;

}

}[/pawn]

Bun,acum care este problema,eu vreau ca playerul sa fie spawnat direct in interior,dar il spawneaza afara,o solutie va rog :)?

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.