Toreno's house
#1

Hello,I have question...
Torreno's house


is some interier?I add some objects inside this house
Код:
CreateObject(630,-693.957,926.841,13.654,0.0,0.0,0.0);
CreateObject(15038,-692.620,942.500,16.447,0.0,0.0,0.0);
CreateObject(3810,-687.945,930.515,16.936,0.0,0.0,-90.000);
CreateObject(2374,-692.416,932.347,13.107,0.0,0.0,90.000);
CreateObject(2377,-692.395,933.178,13.143,0.0,0.0,90.000);
CreateObject(643,-678.435,930.267,11.603,0.0,0.0,0.0);
CreateObject(1481,-675.411,935.684,11.836,0.0,0.0,0.0);
CreateObject(1646,-670.933,933.249,11.470,0.0,0.0,0.0);
CreateObject(1645,-669.469,933.309,11.465,0.0,0.0,0.0);
CreateObject(1208,-692.378,934.867,12.633,0.0,0.0,270.000);
CreateObject(1518,-688.072,931.947,14.141,0.0,0.0,180.000);
CreateObject(1797,-687.028,939.830,12.626,0.0,0.0,-90.000);
CreateObject(1509,-678.752,929.927,12.201,0.0,0.0,0.0);
CreateObject(2222,-678.349,930.269,12.072,0.0,0.0,0.0);
CreateObject(1749,-683.475,935.519,13.965,0.0,0.0,270.000);
CreateObject(2028,-684.403,936.608,12.716,0.0,0.0,213.750);
CreateObject(2103,-681.484,932.230,11.132,0.0,0.0,22.500);
CreateObject(1886,-679.885,934.045,15.640,0.0,0.0,22.500);
CreateObject(643,-675.615,928.171,11.603,0.0,0.0,56.250);
CreateObject(1670,-675.594,928.011,12.030,0.0,0.0,0.0);
CreateObject(1723,-690.045,935.461,12.631,0.0,0.0,11.250);
CreateObject(1829,-691.941,937.283,13.097,0.0,0.0,90.000);
CreateObject(2135,-692.147,935.711,12.632,0.0,0.0,90.000);
CreateObject(2339,-692.289,938.564,12.632,0.0,0.0,90.000);
CreateObject(1544,-675.773,928.324,11.999,0.0,0.0,22.500);
CreateObject(3515,-678.879,947.843,12.028,0.0,0.0,0.0);
CreateObject(3515,-697.480,947.545,12.194,0.0,0.0,0.0);
CreateObject(3524,-726.458,979.245,14.455,0.0,0.0,-112.500);
CreateObject(3524,-729.865,966.736,14.438,0.0,0.0,-123.750);
CreateObject(3524,-717.247,921.288,14.101,0.0,0.0,0.0);
CreateObject(3524,-726.937,921.387,14.075,0.0,0.0,0.0);
CreateObject(3524,-715.287,998.874,14.062,0.0,0.0,180.000);
CreateObject(3524,-723.849,999.388,14.059,0.0,0.0,180.000);
CreateObject(643,-689.217,922.383,11.687,0.0,0.0,0.0);
CreateObject(643,-671.660,925.791,11.629,0.0,0.0,180.000);
CreateObject(2690,-683.852,937.003,14.386,0.0,0.0,90.000);
CreateObject(949,-688.955,942.365,16.466,0.0,0.0,0.0);
CreateObject(1361,-689.784,927.217,13.373,0.0,0.0,0.0);
CreateObject(2001,-684.919,942.373,15.829,0.0,0.0,0.0);
CreateObject(2001,-688.226,929.925,12.629,0.0,0.0,0.0);
CreateObject(1433,-688.423,938.806,12.813,0.0,0.0,0.0);
CreateObject(1212,-688.117,938.541,13.346,0.0,0.0,0.0);
CreateObject(1212,-688.665,938.366,13.346,0.0,0.0,0.0);
CreateObject(1212,-688.434,938.723,13.346,0.0,0.0,0.0);
CreateObject(1212,-688.831,939.165,13.346,0.0,0.0,0.0);
CreateObject(1212,-688.282,938.985,13.346,0.0,0.0,0.0);
CreateObject(1212,-688.007,939.187,13.346,0.0,0.0,0.0);
CreateObject(1212,-688.728,938.783,13.346,0.0,0.0,0.0);
CreateObject(1212,-691.928,937.452,12.659,0.0,0.0,0.0);
CreateObject(1212,-691.718,937.763,12.659,0.0,0.0,0.0);
CreateObject(1212,-691.907,937.005,12.659,0.0,0.0,0.0);
CreateObject(1212,-691.689,937.285,12.659,0.0,0.0,0.0);
CreateObject(1598,-687.964,931.135,22.811,0.0,0.0,0.0);
but this objects don't show and other object show...
Can someone help me?
Reply
#2

so you added this codes to the public OnPlayerConnect(playerid)
Reply
#3

Put it at OnGameModeInit.
Reply
#4

Quote:
Originally Posted by MenaceX^
Put it at OnGameModeInit.
I fort Object go at public OnPlayerConnect(playerid)
thats what i have allways be told and its allways worked
Reply
#5

If I add it to OnPlayerConnect(playerid) it too don't work...
Here code
Код:
public OnPlayerConnect(playerid)
{
	GameTextForPlayer(playerid,"~r~[CZ] ~g~Stunt server [ /HELP ]",8000,8);
	SendClientMessage(playerid, COLOR_CYAN, "Vнtej na [CZ] STUNT serveru!Pro vнce informacн napiљ /help");
	gActivePlayers[playerid]++;
	gLastGaveCash[playerid] = GetTickCount();
  new novyhrac[100];
  GetPlayerName(playerid, novyhrac, 24);
  format(novyhrac, 100, " %s se připojil na server.", novyhrac);
  SendClientMessageToAll(COLOR_GREEN, novyhrac);
	
	
	
	
	
	new obj;
#pragma unused obj   //Use Mido streamer
obj = CreateStreamObject(630, -693.957092, 926.840942, 13.654476, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(15038, -692.619568, 942.499756, 16.446505, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(3810, -687.944702, 930.515137, 16.935925, 0.0000, 0.0000, 270.0000, 500);
obj = CreateStreamObject(2374, -692.415894, 932.347473, 13.106809, 0.0000, 0.0000, 90.0000, 500);
obj = CreateStreamObject(2377, -692.395142, 933.177734, 13.142752, 0.0000, 0.0000, 90.0000, 500);
obj = CreateStreamObject(643, -678.435486, 930.267395, 11.603284, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(1481, -675.411133, 935.683777, 11.835938, 0.0000, 0.0000, 0.0001, 500);
obj = CreateStreamObject(1646, -670.932983, 933.249451, 11.470243, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(1645, -669.468933, 933.308533, 11.464960, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(1208, -692.378479, 934.866699, 12.632813, 0.0000, 0.0000, 270.0000, 500);
obj = CreateStreamObject(1518, -688.071899, 931.947266, 14.140648, 0.0000, 0.0000, 180.0000, 500);
obj = CreateStreamObject(1797, -687.028015, 939.829651, 12.626405, 0.0000, 0.0000, 270.0000, 500);
obj = CreateStreamObject(1509, -678.751770, 929.926880, 12.200818, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(2222, -678.349121, 930.268616, 12.071722, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(1749, -683.475342, 935.518982, 13.964954, 0.0000, 0.0000, 270.0000, 500);
obj = CreateStreamObject(2028, -684.403076, 936.608154, 12.716145, 0.0000, 0.0000, 213.7500, 500);
obj = CreateStreamObject(2103, -681.483765, 932.230408, 11.131824, 0.0000, 0.0000, 22.5000, 500);
obj = CreateStreamObject(1886, -679.885254, 934.044617, 15.640016, 0.0000, 0.0000, 22.5001, 500);
obj = CreateStreamObject(643, -675.614990, 928.170715, 11.603284, 0.0000, 0.0000, 56.2500, 500);
obj = CreateStreamObject(1670, -675.594482, 928.011108, 12.029848, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(1723, -690.044983, 935.460510, 12.630859, 0.0000, 0.0000, 11.2500, 500);
obj = CreateStreamObject(1829, -691.941040, 937.283386, 13.097342, 0.0000, 0.0000, 90.0000, 500);
obj = CreateStreamObject(2135, -692.147339, 935.711060, 12.631775, 0.0000, 0.0000, 90.0000, 500);
obj = CreateStreamObject(2339, -692.288574, 938.564453, 12.631775, 0.0000, 0.0000, 90.0000, 500);
obj = CreateStreamObject(1544, -675.773071, 928.324036, 11.999188, 0.0000, 0.0000, 22.5000, 500);
obj = CreateStreamObject(3515, -678.878784, 947.842957, 12.028036, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(3515, -697.479675, 947.545349, 12.193717, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(3524, -726.457581, 979.244629, 14.455282, 0.0000, 0.0000, 247.5000, 500);
obj = CreateStreamObject(3524, -729.865479, 966.736389, 14.438116, 0.0000, 0.0000, 236.2501, 500);
obj = CreateStreamObject(3524, -717.247192, 921.287720, 14.101440, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(3524, -726.937378, 921.387024, 14.075361, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(3524, -715.287476, 998.874268, 14.062218, 0.0000, 0.0000, 180.0000, 500);
obj = CreateStreamObject(3524, -723.848633, 999.388245, 14.059107, 0.0000, 0.0000, 180.0000, 500);
obj = CreateStreamObject(643, -689.216614, 922.383362, 11.686509, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(643, -671.659607, 925.790955, 11.628869, 0.0000, 0.0000, 180.0000, 500);
obj = CreateStreamObject(2690, -683.852051, 937.002930, 14.386104, 0.0000, 0.0000, 90.0000, 500);
obj = CreateStreamObject(949, -688.954529, 942.364563, 16.465601, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(1361, -689.784180, 927.216919, 13.372661, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(2001, -684.919067, 942.373291, 15.829317, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(2001, -688.226379, 929.925171, 12.629317, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(1433, -688.422607, 938.805725, 12.812500, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(1212, -688.116516, 938.541382, 13.346184, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(1212, -688.664917, 938.365967, 13.346184, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(1212, -688.433655, 938.723083, 13.346184, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(1212, -688.830750, 939.165161, 13.346184, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(1212, -688.281860, 938.985474, 13.346184, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(1212, -688.006592, 939.187256, 13.346184, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(1212, -688.728088, 938.783203, 13.346184, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(1212, -691.928162, 937.451782, 12.658504, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(1212, -691.718262, 937.762817, 12.658504, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(1212, -691.907349, 937.004883, 12.658504, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(1212, -691.689026, 937.284607, 12.658504, 0.0000, 0.0000, 0.0000, 500);
obj = CreateStreamObject(1598, -687.963989, 931.134521, 22.810871, 0.0000, 0.0000, 0.0000, 500);
	
	
	return 1;
}
Have I here some bad?
Reply
#6

If you add it to OnPlayerConnect then it will recreate the objects everytime a player joins the server
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)