20.03.2011, 15:53
ai Luнs Miki dessa forma ai eu ja tinha feito eu ja to colocando VirtualWorld 0 depois q sair o problema e esse
ai como daзo para sair nos lugares certos porque todos saem no mesmo lugar
pawn Код:
if(strcmp(cmd, "/sair", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
TogglePlayerControllable(playerid,1);
RemovePlayerFromVehicle(playerid);
}
if (PlayerToPoint(3.0, playerid,387.7978,173.8582,1008.3828))
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1481.2550,-1765.8638,18.7958);
}
if (PlayerToPoint(3.0, playerid,246.7839,63.9001,1003.6406))
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1554.6337,-1675.5465,16.1953);
}
if (PlayerToPoint(3.0, playerid,288.7459,169.3509,1007.1718))
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2730.0149,-2451.4441,17.5937);
SetPlayerVirtualWorld(playerid, 0);
}
else if (PlayerToPoint(3.0, playerid,288.7459,169.3509,1007.1718))
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,329.4018,-1513.2111,36.0391);
SetPlayerVirtualWorld(playerid, 0);
}
else if (PlayerToPoint(3.0, playerid,288.7459,169.3509,1007.1718))
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,913.6578,-1003.6573,37.9989);
SetPlayerVirtualWorld(playerid, 0);
}
else if (PlayerToPoint(3.0, playerid,288.7459,169.3509,1007.1718))
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,627.6210,-571.7542,17.6218);
SetPlayerVirtualWorld(playerid, 0);
}
}
return 1;
}