22.07.2013, 07:49
I have a function named TablooKontroll, that is initiated, when a bus bot joins the server:
http://pastebin.com/eCKkAFL8
It works but the problem with this that randomly one of the if statements won't even load. When I last checked the statement with if (TablooX1){ didn't not start up. TablooX1 didn't change from the original (it has only occured with statements that have X1 in them. Originals are here:
http://pastebin.com/eCKkAFL8
It works but the problem with this that randomly one of the if statements won't even load. When I last checked the statement with if (TablooX1){ didn't not start up. TablooX1 didn't change from the original (it has only occured with statements that have X1 in them. Originals are here:
Код:
CPTbotX1bus = AddStaticVehicleEx(431,914.9599000,-1164.6213000,17.4264000,90.5400000,-1,-1,15); CPTbotX1bus2 = AddStaticVehicleEx(431,925.8306000,-1177.9897000,17.4681000,0.4800000,-1,-1,15); CPTbotX1bus3 = AddStaticVehicleEx(431,919.0710, -1199.5710, 17.5387, -0.1200,-1,-1,15); CPTbotX1bus4 = AddStaticVehicleEx(431,914.8840, -1199.5654, 17.6287, -0.4200,-1,-1,15); CPTbotX2bus = AddStaticVehicleEx(431,900.4838000,-1164.4596000,17.4264000,87.6600000,-1,-1,15); CPTbotX2bus2 = AddStaticVehicleEx(431,889.5180, -1189.0514, 17.9417, 89.7600,-1,-1,15); TablooX1 = Create3DTextLabel("[BOT] California Public Transport",0x66CC00FF,0,0,0,30.0,0,0); TablooX1v2 = Create3DTextLabel("[BOT] California Public Transport",0x66CC00FF,0,0,0,30.0,0,0); TablooX1v3 = Create3DTextLabel("[BOT] California Public Transport",0x66CC00FF,0,0,0,30.0,0,0); TablooX1v4 = Create3DTextLabel("[BOT] California Public Transport",0x66CC00FF,0,0,0,30.0,0,0); TablooX2 = Create3DTextLabel("[BOT] California Public Transport",0x66CC00FF,0,0,0,30.0,0,0); TablooX2v2 = Create3DTextLabel("[BOT] California Public Transport",0x66CC00FF,0,0,0,30.0,0,0); Attach3DTextLabelToVehicle( TablooX1, CPTbotX1bus, 0.0, 0.0, 2.0); Attach3DTextLabelToVehicle( TablooX1v2, CPTbotX1bus2, 0.0, 0.0, 2.0); Attach3DTextLabelToVehicle( TablooX1v3, CPTbotX1bus3, 0.0, 0.0, 2.0); Attach3DTextLabelToVehicle( TablooX1v4, CPTbotX1bus4, 0.0, 0.0, 2.0); Attach3DTextLabelToVehicle( TablooX2, CPTbotX2bus, 0.0, 0.0, 2.0); Attach3DTextLabelToVehicle( TablooX2v2, CPTbotX2bus2, 0.0, 0.0, 2.0);