26.09.2015, 12:16
(
Последний раз редактировалось LuizWachowicz; 26.09.2015 в 13:48.
)
Bom, estou quebrando a cabeзa aqui para resolver o problema, eu entro em um interior, quando vou sair, vou parar na frente da porta de outro interior, as coordenadas estгo certas, jб pesquisei sobre o problema, mas nada adiantou,
jб tentei com variбveis e VW, porйm vou postar o code aqui para vocкs verem :
OBS: Quero usar interiores iguais
Aqui o comando entrar:
Aqui o comando de sair
Alguem ae me ajuda dou +Rep
jб tentei com variбveis e VW, porйm vou postar o code aqui para vocкs verem :
OBS: Quero usar interiores iguais
Aqui o comando entrar:
Код:
CMD:entrar(playerid,params[]) { if(IsPlayerInRangeOfPoint(playerid, 1.0, 328.5529,-1513.7094,36.0391)) // Hotel { SetPlayerInterior(playerid, 15); SetPlayerVirtualWorld(playerid, 1); SetPlayerPos(playerid,2218.5337,-1150.3634,1025.7969); } if(IsPlayerInRangeOfPoint(playerid, 1.0, 1199.3424,-918.9036,43.1169)) // Burger Shot { SetPlayerInterior(playerid, 10); SetPlayerVirtualWorld(playerid, 2); SetPlayerPos(playerid,364.4674,-74.2585,1001.5078); } if(IsPlayerInRangeOfPoint(playerid, 1.0, 811.4586,-1616.3097,13.5469)) // Burger Shot { SetPlayerInterior(playerid, 10); SetPlayerVirtualWorld(playerid, 3); SetPlayerPos(playerid,364.4674,-74.2585,1001.5078); } return 1; }
Код:
CMD:sair(playerid) { if(IsPlayerInRangeOfPoint(playerid,1.0, 2214.4348,-1150.5187,1025.7969)) // Hotel { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,335.1270, -1519.3262, 35.8672); SetPlayerVirtualWorld(playerid, 1); } if(IsPlayerInRangeOfPoint(playerid,1.0, 363.4741,-74.7510,1001.5078)) //Burger Shot { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,1199.3424,-918.9036, 43.1169); SetPlayerVirtualWorld(playerid, 2); } if(IsPlayerInRangeOfPoint(playerid,1.0, 363.4741,-74.7510,1001.5078))// Burger Shot { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,811.4586,-1616.3097,13.5469); SetPlayerVirtualWorld(playerid, 3); } return 1; }