27.01.2016, 10:13
There's a textured map I received by a friend of mine, I'm able to sucessfuly compile it, but then it wont load on the server at all. Do you guys know what could it be?
It's only half of the code obv. Could anyone help me? Thanks.
Код:
#include <a_samp> #include "../include/gl_common.inc" #include <streamer> // Map Record PLUS by 0X688 // Visit UGBASE.EU public OnFilterScriptInit() { return 1; } forward public MRP_RemoveObjects(playerid); public MRP_RemoveObjects(playerid) { } forward MRP_CreateObjects(); public MRP_CreateObjects() { new cobj0 = CreateDynamicObject(19355, 2814.202148, 2670.698730, 9.777400, 0.000000, 0.000000, 90.000000); SetDynamicObjectMaterial(cobj0, 0, 11011, "crackfact_sfse", "ws_altz_wall1"); new cobj1 = CreateDynamicObject(19355, 2821.475830, 2670.698730, 9.777400, 0.000000, 0.000000, 90.000000); SetDynamicObjectMaterial(cobj1, 0, 11011, "crackfact_sfse", "ws_altz_wall1"); new cobj2 = CreateDynamicObject(19447, 2814.392822, 2665.959229, 11.715860, 0.000000, 0.000000, 0.000000); SetDynamicObjectMaterial(cobj2, 0, 11011, "crackfact_sfse", "ws_altz_wall1"); new cobj3 = CreateDynamicObject(19447, 2821.300293, 2665.959229, 11.715900, 0.000000, 0.000000, 0.000000); SetDynamicObjectMaterial(cobj3, 0, 11011, "crackfact_sfse", "ws_altz_wall1"); new cobj4 = CreateDynamicObject(19447, 2824.654053, 2665.238037, 11.715900, 0.000000, 0.000000, 90.000000); SetDynamicObjectMaterial(cobj4, 0, 11011, "crackfact_sfse", "ws_altz_wall1"); new cobj5 = CreateDynamicObject(19355, 2815.738525, 2669.942871, 9.787400, 0.000000, 0.000000, 0.000000); SetDynamicObjectMaterial(cobj5, 0, 11011, "crackfact_sfse", "ws_altz_wall1"); new cobj6 = CreateDynamicObject(19355, 2819.805664, 2669.942871, 9.787400, 0.000000, 0.000000, 0.000000); SetDynamicObjectMaterial(cobj6, 0, 11011, "crackfact_sfse", "ws_altz_wall1"); new cobj7 = CreateDynamicObject(19362, 2822.408447, 2672.223877, 11.462800, 0.000000, 90.000000, 0.000000); SetDynamicObjectMaterial(cobj7, 0, 11011, "crackfact_sfse", "ws_altz_wall1"); new cobj8 = CreateDynamicObject(19362, 2818.909912, 2672.223877, 11.462800, 0.000000, 90.000000, 0.000000); SetDynamicObjectMaterial(cobj8, 0, 11011, "crackfact_sfse", "ws_altz_wall1"); new cobj9 = CreateDynamicObject(19362, 2815.410400, 2672.223877, 11.462800, 0.000000, 90.000000, 0.000000); SetDynamicObjectMaterial(cobj9, 0, 11011, "crackfact_sfse", "ws_altz_wall1"); new cobj10 = CreateDynamicObject(19362, 2811.917480, 2672.223877, 11.462800, 0.000000, 90.000000, 0.000000); SetDynamicObjectMaterial(cobj10, 0, 11011, "crackfact_sfse", "ws_altz_wall1"); new cobj11 = CreateDynamicObject(19377, 2817.831299, 2679.062500, 10.351300, 0.000000, 90.000000, 90.000000); SetDynamicObjectMaterial(cobj11, 0, 11011, "crackfact_sfse", "ws_altz_wall1"); new cobj12 = CreateDynamicObject(19447, 2817.831299, 2673.745605, 9.798980, 0.000000, 0.000000, 90.000000); SetDynamicObjectMaterial(cobj12, 0, 11011, "crackfact_sfse", "ws_altz_wall1"); new cobj13 = CreateDynamicObject(19454, 2822.160645, 2678.643311, 11.462800, 0.000000, 90.000000, 0.000000); SetDynamicObjectMaterial(cobj13, 0, 11011, "crackfact_sfse", "ws_altz_wall1"); new cobj14 = CreateDynamicObject(19454, 2813.738281, 2678.643311, 11.462800, 0.000000, 90.000000, 0.000000); SetDynamicObjectMaterial(cobj14, 0, 11011, "crackfact_sfse", "ws_altz_wall1"); new cobj15 = CreateDynamicObject(19447, 2820.489502, 2678.628418, 9.799000, 0.000000, 0.000000, 0.000000); SetDynamicObjectMaterial(cobj15, 0, 11011, "crackfact_sfse", "ws_altz_wall1"); new cobj16 = CreateDynamicObject(19447, 2815.408691, 2678.628418, 9.799000, 0.000000, 0.000000, 0.000000); SetDynamicObjectMaterial(cobj16, 0, 11011, "crackfact_sfse", "ws_altz_wall1"); new cobj17 = CreateDynamicObject(19447, 2811.024658, 2665.238037, 11.715900, 0.000000, 0.000000, 90.000000); SetDynamicObjectMaterial(cobj17, 0, 11011, "crackfact_sfse", "ws_altz_wall1");