[Ajuda] Interior Bugado.
#1

- Olб amigos estou com um pequeno problema espero que mim ajudem, Seguinte eu coloquei um Mapa/Interior em Meu servidor que estou criando...Mбs eu coloquei logo pra o player nascer dentro do interior mas nгo estou intendendo pq quando player nasce nгo aparece o interior eu fico em cima de um Objeto invisнvel e quando dou um passo pra frente logo caio em outro mundo, Alguйm sabe pq meu interior n esta aparecendo quando o Player conectar +REP

Estava Colocando em
PHP код:
public OnGameModeInit() 
- jб Tentei em Varias Public tmb...Mas continua com o Mesmo problema.

Код:
retexture = CreateDynamicObject(19445, 871.71582, -25.95290, 54.44370,   0.00000, 0.00000, 90.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_cabinwall01");
	retexture = CreateDynamicObject(19445, 871.41412, -17.81710, 54.44370,   0.00000, 0.00000, 90.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_cabinwall01");
	retexture = CreateDynamicObject(19445, 875.78040, -22.03770, 54.44370,   0.00000, 0.00000, 0.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_cabinwall01");
	retexture = CreateDynamicObject(19445, 867.56787, -21.74260, 54.44370,   0.00000, 0.00000, 0.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_cabinwall01");
	retexture = CreateDynamicObject(19446, 870.26031, -21.27970, 57.36910,   0.00000, 66.00000, 0.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_cabinroof");
	retexture = CreateDynamicObject(19446, 867.06317, -21.27970, 55.94610,   0.00000, 66.00000, 0.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_cabinroof");
	retexture = CreateDynamicObject(19446, 873.01617, -21.27970, 57.40110,   0.00000, -66.00000, 0.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_cabinroof");
	retexture = CreateDynamicObject(19446, 876.21307, -21.27970, 55.97810,   0.00000, -66.00000, 0.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_cabinroof");
	retexture = CreateDynamicObject(19446, 872.23169, -24.72160, 56.93110,   0.00000, -58.00000, -90.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_cabinroof");
	retexture = CreateDynamicObject(19446, 871.95471, -18.86290, 56.81510,   0.00000, -58.00000, 90.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_cabinroof");
	retexture = CreateDynamicObject(19446, 871.95471, -21.83090, 58.66910,   0.00000, -58.00000, 90.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_cabinroof");
	retexture = CreateDynamicObject(19446, 872.23169, -21.75460, 58.78510,   0.00000, -58.00000, -90.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_cabinroof");
	retexture = CreateDynamicObject(19447, 875.20813, -21.55100, 52.60610,   0.00000, 90.00000, 0.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_woodflloorsplat");
	retexture = CreateDynamicObject(19447, 871.70813, -21.55100, 52.60610,   0.00000, 90.00000, 0.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_woodflloorsplat");
	retexture = CreateDynamicObject(19447, 868.20813, -21.55100, 52.60610,   0.00000, 90.00000, 0.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_woodflloorsplat");
    retexture = CreateDynamicObject(1416, 873.81610, -26.24300, 54.26130,   0.00000, 0.00000, 0.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_cabwin01");
	retexture = CreateDynamicObject(1416, 869.53809, -26.24300, 54.26130,   0.00000, 0.00000, 0.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_cabwin01");
    retexture = CreateDynamicObject(1416, 867.27710, -22.44160, 54.26130,   0.00000, 0.00000, -90.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_cabwin01");
	retexture = CreateDynamicObject(1416, 867.27710, -21.01760, 54.26130,   0.00000, 0.00000, -90.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_cabwin01");
	retexture = CreateDynamicObject(1416, 876.07111, -22.46760, 54.26130,   0.00000, 0.00000, 90.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_cabwin01");
	retexture = CreateDynamicObject(1416, 876.07111, -21.04360, 54.26130,   0.00000, 0.00000, 90.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_cabwin01");
	retexture = CreateDynamicObject(3498, 874.80676, -19.47295, 48.67000,   0.00000, 0.00000, 0.00000, 55499);
    SetDynamicObjectMaterial(retexture, 1, 12937, "sw_oldshack", "oakbark64");	
	retexture = CreateDynamicObject(19445, 865.74341, -20.39820, 54.44370,   0.00000, 0.00000, 90.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_cabinwall01");
	retexture = CreateDynamicObject(19383, 869.93109, -18.70860, 54.44370,   0.00000, 0.00000, 0.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_cabinwall01");
	retexture = CreateDynamicObject(19383, 870.47308, -22.09260, 54.44370,   0.00000, 0.00000, 0.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_cabinwall01");
	retexture = CreateDynamicObject(19445, 870.47308, -28.51420, 54.44370,   0.00000, 0.00000, 0.00000, 55499);
    SetDynamicObjectMaterial(retexture, 0, 12937, "sw_oldshack", "sw_cabinwall01");	
	retexture = CreateDynamicObject(2048, 875.68298, -24.57380, 55.27320,   0.00000, 0.00000, -90.00000, 55499);
	SetDynamicObjectMaterial(retexture, 0, 7091, "vegasflag", "starspangban1_256");	
	CreateDynamicObject(1308, 866.27960, -25.80640, 56.06910,   0.00000, 90.00000, 0.00000, 55499);
	CreateDynamicObject(1308, 866.27960, -18.05240, 56.06910,   0.00000, 90.00000, 0.00000, 55499);
	CreateDynamicObject(1308, 867.80353, -27.31600, 56.06910,   0.00000, 90.00000, 90.00000, 55499);
	CreateDynamicObject(1308, 875.61151, -27.31600, 56.06910,   0.00000, 90.00000, 90.00000, 55499);
	CreateDynamicObject(1308, 871.62708, -15.28920, 54.28310,   0.00000, 58.00000, -90.00000, 55499);
	CreateDynamicObject(1308, 871.62708, -28.69120, 54.28310,   0.00000, -58.00000, -90.00000, 55499);
	CreateDynamicObject(1308, 865.93591, -16.74670, 55.21310,   0.00000, 70.00000, -35.50000, 55499);
	CreateDynamicObject(1308, 877.46472, -27.03720, 55.21310,   0.00000, 70.00000, 145.00000, 55499);
	CreateDynamicObject(1308, 871.70697, -26.54420, 57.73510,   0.00000, 90.00000, 90.00000, 55499);
	CreateDynamicObject(1308, 865.88208, -27.34360, 55.10710,   0.00000, 70.00000, 37.00000, 55499);
	CreateDynamicObject(1308, 865.93591, -16.74670, 55.21310,   0.00000, 70.00000, -135.50000, 55499);
	CreateDynamicObject(1308, 877.40540, -16.68960, 55.21310,   0.00000, 70.00000, -144.50000, 55499);
	CreateDynamicObject(1308, 870.62708, -28.97120, 54.28310,   0.00000, -58.00000, -90.00000, 55499);
	CreateDynamicObject(1308, 872.62708, -28.99120, 54.28310,   0.00000, -58.00000, -90.00000, 55499);
	CreateDynamicObject(1308, 873.62708, -28.99120, 54.28310,   0.00000, -58.00000, -90.00000, 55499);
	CreateDynamicObject(1308, 869.62708, -29.01520, 54.28310,   0.00000, -58.00000, -90.00000, 55499);
	CreateDynamicObject(1308, 870.62708, -15.00120, 54.28310,   0.00000, 58.00000, -90.00000, 55499);
	CreateDynamicObject(1308, 869.62708, -15.00120, 54.28310,   0.00000, 58.00000, -90.00000, 55499);
	CreateDynamicObject(1308, 872.62708, -15.02520, 54.28310,   0.00000, 58.00000, -90.00000, 55499);
	CreateDynamicObject(1308, 873.62708, -15.02920, 54.28310,   0.00000, 58.00000, -90.00000, 55499);
	CreateDynamicObject(1308, 863.87433, -21.89250, 54.28310,   0.00000, 66.00000, 0.00000, 55499);
	CreateDynamicObject(1308, 879.41827, -21.83250, 54.28310,   0.00000, 66.00000, 180.00000, 55499);
	CreateDynamicObject(1308, 879.41827, -20.83250, 54.28310,   0.00000, 66.00000, 180.00000, 55499);
	CreateDynamicObject(1308, 879.41827, -22.83250, 54.28310,   0.00000, 66.00000, 180.00000, 55499);
	CreateDynamicObject(1308, 863.87433, -22.89250, 54.28310,   0.00000, 66.00000, 0.00000, 55499);
	CreateDynamicObject(1308, 863.87433, -20.89250, 54.28310,   0.00000, 66.00000, 0.00000, 55499);
	CreateDynamicObject(1308, 863.87433, -23.89250, 54.37510,   0.00000, 66.00000, 0.00000, 55499);
	CreateDynamicObject(1308, 863.87433, -19.89250, 54.41510,   0.00000, 66.00000, 0.00000, 55499);
	CreateDynamicObject(1308, 879.41827, -23.83250, 54.38510,   0.00000, 66.00000, 180.00000, 55499);
	CreateDynamicObject(1308, 879.41827, -19.83250, 54.38510,   0.00000, 66.00000, 180.00000, 55499);
	CreateDynamicObject(13360, 871.69031, -25.86400, 53.76400,   0.00000, 0.00000, 0.00000, 55499);
	CreateDynamicObject(1448, 875.73700, -20.67870, 54.27560,   0.00000, 90.00000, 0.00000, 55499);
	CreateDynamicObject(1448, 875.73700, -21.75070, 54.27560,   0.00000, 90.00000, 0.00000, 55499);
	CreateDynamicObject(1448, 875.73700, -22.82270, 54.27560,   0.00000, 90.00000, 0.00000, 55499);
	CreateDynamicObject(2302, 869.21069, -22.28540, 52.69320,   0.00000, 0.00000, 180.00000, 55499);
	CreateDynamicObject(2514, 867.99329, -18.41270, 52.69350,   0.00000, 0.00000, 0.00000, 55499);
	CreateDynamicObject(1502, 870.44781, -21.30800, 52.67760,   0.00000, 0.00000, -90.00000, 55499);
	CreateDynamicObject(2330, 868.30695, -21.94663, 52.69394,   0.00000, 0.00000, 0.00000, 55499);
	CreateDynamicObject(2819, 868.22119, -22.43945, 52.68460,   0.00000, 0.00000, 34.00000, 55499);
	CreateDynamicObject(2527, 868.27032, -18.84870, 52.68650,   0.00000, 0.00000, 180.00000, 55499);
	CreateDynamicObject(1502, 869.89117, -17.92340, 52.67760,   0.00000, 0.00000, -90.00000, 55499);
	CreateDynamicObject(19873, 868.24188, -18.14930, 52.75480,   0.00000, 0.00000, 0.00000, 55499);
	CreateDynamicObject(19873, 868.23010, -18.00860, 52.75480,   0.00000, 0.00000, 0.00000, 55499);
	CreateDynamicObject(11724, 874.58319, -18.20680, 53.21420,   0.00000, 0.00000, 0.00000, 55499);
	CreateDynamicObject(11725, 874.58069, -18.32170, 53.04230,   0.00000, 0.00000, 0.00000, 55499);
	CreateDynamicObject(3461, 874.57599, -18.28870, 50.55040,   0.00000, 0.00000, 0.00000, 55499);
	CreateDynamicObject(2523, 869.80829, -19.79780, 52.67250,   0.00000, 0.00000, 180.00000, 55499);
	CreateDynamicObject(1756, 875.18292, -20.88919, 52.69370,   0.00000, 0.00000, 170.00000, 55499);
	CreateDynamicObject(1736, 874.50763, -18.23500, 55.18230,   0.00000, 0.00000, 0.00000, 55499);
	CreateDynamicObject(2144, 875.42480, -24.36280, 52.68540,   0.00000, 0.00000, -90.00000, 55499);
	CreateDynamicObject(2142, 875.45300, -24.98450, 52.62930,   0.00000, 0.00000, -90.00000, 55499);
	CreateDynamicObject(2148, 874.51379, -25.62590, 52.62930,   0.00000, 0.00000, 180.00000, 55499);
	CreateDynamicObject(2150, 874.39380, -25.72630, 53.54600,   0.00000, 0.00000, 180.00000, 55499);
	CreateDynamicObject(2849, 875.36389, -25.11656, 53.68030,   0.00000, 0.00000, 45.00000, 55499);
	CreateDynamicObject(2120, 874.99719, -22.61846, 53.33200,   0.00000, 0.00000, 11.00000, 55499);
	CreateDynamicObject(1433, 873.37720, -22.90824, 52.87500,   0.00000, 0.00000, 10.00000, 55499);
	CreateDynamicObject(2839, 873.47858, -22.95850, 53.38420,   0.00000, 0.00000, 40.00000, 55499);
	CreateDynamicObject(19820, 874.73962, -19.29080, 53.18860,   0.00000, 0.00000, 0.00000, 55499);
	CreateDynamicObject(1667, 874.85632, -19.46240, 53.27920,   0.00000, 0.00000, 0.00000, 55499);
	CreateDynamicObject(1510, 874.63318, -19.54420, 53.19690,   0.00000, 0.00000, 0.00000, 55499);
	CreateDynamicObject(3027, 874.71851, -19.51830, 53.25410,   0.00000, -120.00000, 0.00000, 55499);
	CreateDynamicObject(19823, 873.65161, -18.02540, 53.73080,   0.00000, 0.00000, 0.00000, 55499);
	CreateDynamicObject(19820, 874.01282, -18.00240, 53.73080,   0.00000, 0.00000, 0.00000, 55499);
	CreateDynamicObject(19821, 874.21576, -17.99987, 53.73174,   0.00000, 0.00000, 0.00000, 55499);
	CreateDynamicObject(19824, 874.72534, -18.00275, 53.73175,   0.00000, 0.00000, 0.00000, 55499);
	CreateDynamicObject(19822, 875.13232, -18.05250, 53.73180,   0.00000, 0.00000, 0.00000, 55499);
	CreateDynamicObject(19822, 874.45471, -17.98775, 53.73180,   0.00000, 0.00000, 0.00000, 55499);
	CreateDynamicObject(19820, 875.45294, -18.01491, 53.73080,   0.00000, 0.00000, 0.00000, 55499);
	CreateDynamicObject(349, 873.48053, -18.17192, 52.93730,   -15.00000, -90.00000, -90.00000, 55499);
	CreateDynamicObject(328, 872.93433, -22.69320, 53.36400,   90.00000, 0.00000, 0.00000, 55499);
	CreateDynamicObject(2046, 872.35571, -18.07060, 54.79720,   0.00000, 0.00000, 0.00000, 55499);
	CreateDynamicObject(358, 872.48358, -18.07060, 52.99380,   -15.00000, -85.00000, 0.00000, 55499);
	CreateDynamicObject(357, 872.15997, -17.99400, 52.96450,   -10.00000, -80.00000, 0.00000, 55499);
	CreateDynamicObject(357, 870.64893, -23.63930, 52.96450,   -10.00000, -80.00000, 90.00000, 55499);
	CreateDynamicObject(2671, 873.78137, -23.95681, 52.69830,   0.00000, 0.00000, 90.00000, 55499);
	CreateDynamicObject(2670, 874.76221, -19.66700, 52.79220,   0.00000, 0.00000, 180.00000, 55499);
	CreateDynamicObject(19897, 874.89722, -19.59360, 53.19810,   0.00000, 0.00000, 0.00000, 55499);
Reply
#2

pega o id do interior e coloca onde o jogador vai spawnar

Код:
SetPlayerInterior(playerid, 0[ID DO INTERIOR ] );
Reply
#3

Quote:
Originally Posted by Meck
Посмотреть сообщение
pega o id do interior e coloca onde o jogador vai spawnar

Код:
SetPlayerInterior(playerid, 0[ID DO INTERIOR ] );
Jб Botei pra setar em Vбrios interior e Nгo esta setando, e botei a coordenada do interior certinho e nгo esta funcionando...
Reply
#4

Bom, onde vocк colocou os objetos й o interior 0 mesmo

Na coordenada Z da funзгo de setar posiзгo coloca +0.5

@Edit
Seus objetos estгo sendo criado no VirtualWorld 55499
Nгo esqueзa de setar o player nesse virtual world.
Reply
#5

Quote:
Originally Posted by GM_KoDi
Посмотреть сообщение
Bom, onde vocк colocou os objetos й o interior 0 mesmo

Na coordenada Z da funзгo de setar posiзгo coloca +0.5

@Edit
Seus objetos estгo sendo criado no VirtualWorld 55499
Nгo esqueзa de setar o player nesse virtual world.
Resolvido, Muito Obrigado cara!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)