20.06.2010, 20:50
Код:
else if (PlayerToPointStripped(1, playerid,2286.9778,2431.8884,10.8203, cx,cy,cz)) { //PC Entrada SetPlayerPos(playerid, 238.7194,141.7792,1003.0234); GameTextForPlayer(playerid, "~p~DP ~b~ PC",5000,1); SetPlayerInterior(playerid,3); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 3; } else if (PlayerToPointStripped(1, playerid,238.7413,138.6287,1003.0234, cx,cy,cz)) { //PC Saida SetPlayerPos(playerid, 2286.8313,2429.9688,10.8203); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; } else if (PlayerToPointStripped(1, playerid,2337.1377,2459.1279,14.9742, cx,cy,cz)) { //PC Entrada2 SetPlayerPos(playerid, 288.8707,169.1019,1007.1719); GameTextForPlayer(playerid, "~p~DP ~b~ PC",5000,1); SetPlayerInterior(playerid,3); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 3; } else if (PlayerToPointStripped(1, playerid,288.8605,166.9388,1007.1719, cx,cy,cz)) { //PC Saida2 SetPlayerPos(playerid, 2337.0315,2457.4617,14.9688); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; }
e depois a mesma coisa ele vai ta no interior e depois vai sair .
Eu qria que alguem coloca //aki ele vai entrar //aki ele vai sair