Object Loading Script Help
#1

Hello my name is Mark and I am trying to load objects in a filterscript in sa-mp everytime I start server it says unable to load filterscript here is my code
Код:
#include <a_samp>

public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" Marks Admin Home");
	print("--------------------------------------\n");

	//Converted objects and vehicles below!
	CreateObject(5028, 1256.4000244141, -2548.6000976563, 25.89999961853, 0, 7, 12);
	CreateObject(5333, 1123.3000488281, -2456.1999511719, 53.099998474121, 0, 0, 304);
	CreateObject(10483, 1022.200012207, -2327.8999023438, 57.900001525879, 0, 0, 332);
	CreateObject(10483, 924.90002441406, -2298.1999511719, 57.900001525879, 0, 0, 11.995849609375);
	CreateObject(10483, 825.20001220703, -2320.3000488281, 57.900001525879, 0, 0, 31.991577148438);
	CreateObject(10937, 682.29998779297, -2446.5, 50.799999237061, 0, 0, 316);
	CreateObject(10937, 482.10000610352, -2626.6000976563, 48.099998474121, 0, 0, 307.99975585938);
	CreateObject(10937, 265.10000610352, -2796.1999511719, 45.099998474121, 0, 0, 307.99621582031);
	CreateObject(10937, 50, -2964.3999023438, 41.799999237061, 0, 0, 307.99621582031);
	CreateObject(981, 140.89999389648, -2876.5, 47.299999237061, 0, 5, 40);
	CreateObject(981, 144, -2874, 46.799999237061, 0, 4.998779296875, 39.995727539063);
	CreateObject(981, 155.10000610352, -2898.8999023438, 47.599998474121, 0, 356, 215.99574279785);
	CreateObject(981, 151.89999389648, -2900.6999511719, 47.599998474121, 0, 355.99548339844, 217.9912109375);
	CreateObject(10968, -97.699996948242, -3082, 46.599998474121, 0, 0, 220);
	CreateObject(10820, -208.19999694824, -3174, 50.099998474121, 0, 0, 220);
	CreateObject(10821, -325, -3271.8999023438, 66.199996948242, 0, 0, 40);
	CreateObject(10823, -485.29998779297, -3381.6999511719, 63.900001525879, 0, 0, 208);
	CreateObject(10823, -647.59997558594, -3453.8999023438, 63.900001525879, 0, 0, 19.998657226563);
	CreateObject(10858, -800.79998779297, -3508.1999511719, 29.5, 0, 0, 290);
	CreateObject(10858, -935.29998779297, -3453.3999023438, 29.799999237061, 0, 0, 243.9951171875);
	CreateObject(6449, -975.79998779297, -3333.3999023438, 54.299999237061, 0, 0, 18);
	CreateObject(6448, -1060.4000244141, -3243.1000976563, 67.300003051758, 0, 0, 18);
	CreateObject(6450, -1053.5999755859, -3126.6000976563, 66.699996948242, 1, 0, 20);
	CreateObject(6876, -1076.3000488281, -3046.1000976563, 73.699996948242, 0, 357, 208);
	CreateObject(6876, -1170.0999755859, -3068.1000976563, 77.300003051758, 0, 0, 312);
	CreateObject(6877, -1264.9000244141, -2981, 65.199996948242, 0, 348, 314);
	CreateObject(6877, -1287.3000488281, -2960.3000488281, 59.799999237061, 0, 347, 315.99975585938);
	CreateObject(16303, -1090.4000244141, -3050.1999511719, 67.400001525879, 0, 0, 306);
	CreateObject(16303, -1095.1999511719, -3051.8000488281, 67.400001525879, 0, 0, 305.99670410156);
	CreateObject(16303, -1018.299987793, -3268.8000488281, 44.5, 0, 0, 305.99670410156);
	CreateObject(16303, -1014.5999755859, -3267.3999023438, 44.5, 0, 0, 305.99670410156);
	CreateObject(16303, -1003.799987793, -3302.3999023438, 43, 0, 355, 121.99670410156);
	CreateObject(3996, -753.29998779297, -3480.6000976563, 48.299999237061, 0, 0, 198);
	CreateObject(981, -784.5, -3486.6999511719, 49.200000762939, 0, 0, 102);
	CreateObject(981, -784.90002441406, -3483.1999511719, 49.200000762939, 0, 0, 101.9970703125);
	CreateObject(981, -1151.5999755859, -3100.6000976563, 77.099998474121, 0, 0, 221.9970703125);
	CreateObject(981, -1088.3000488281, -3041.1999511719, 74.699996948242, 0, 0, 281.99157714844);
	CreateObject(981, -1088.2998046875, -3041.19921875, 74.699996948242, 0, 0, 281.99157714844);
	CreateObject(981, -1153.9000244141, -3102.6000976563, 77.099998474121, 0, 0, 221.99523925781);
	CreateObject(16303, -140.39999389648, -3105.6000976563, 31.10000038147, 0, 0, 232);
	CreateObject(16303, -137.30000305176, -3109.1999511719, 31.10000038147, 0, 0, 231.99830627441);
	CreateObject(16303, -131, -3117.1000976563, 31.10000038147, 0, 0, 232);
	CreateObject(16303, -127.5, -3121.3000488281, 31.10000038147, 0, 0, 231.99830627441);
	CreateObject(8843, 1345.5999755859, -2586.8999023438, 12.39999961853, 0, 0, 10);
	CreateObject(8843, 1336.0999755859, -2581.1999511719, 12.89999961853, 0, 0, 97.99755859375);
	CreateObject(8843, 1331.0999755859, -2578, 12.89999961853, 0, 0, 185.99255371094);
	CreateObject(1318, -1319.8000488281, -2915.6000976563, 49.700000762939, 0, 100, 8);
	CreateObject(1318, -1319.4000244141, -2916, 49.700000762939, 0, 99.99755859375, 109.99652099609);
	CreateObject(1318, -1318, -2927.3999023438, 50.099998474121, 0, 70, 341.9951171875);
	CreateObject(1318, -1330.8000488281, -2925.1000976563, 48.599998474121, 0, 100, 159.99340820313);
	CreateObject(1318, -1330.6999511719, -2924.6000976563, 48.599998474121, 0, 100, 199.98840332031);
	return 1;
}
Reply
#2

Help Please
Reply
#3

Re-compile ? if worked, it is ok
if didn't work, try this WITH THE LATEST STREAMER PLUGIN:
pawn Код:
#include <a_samp>

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Marks Admin Home");
    print("--------------------------------------\n");

    //Converted objects and vehicles below!
    CreateDynamicObject(5028, 1256.4000244141, -2548.6000976563, 25.89999961853, 0, 7, 12);
    CreateDynamicObject(5333, 1123.3000488281, -2456.1999511719, 53.099998474121, 0, 0, 304);
    CreateDynamicObject(10483, 1022.200012207, -2327.8999023438, 57.900001525879, 0, 0, 332);
    CreateDynamicObject(10483, 924.90002441406, -2298.1999511719, 57.900001525879, 0, 0, 11.995849609375);
    CreateDynamicObject(10483, 825.20001220703, -2320.3000488281, 57.900001525879, 0, 0, 31.991577148438);
    CreateDynamicObject(10937, 682.29998779297, -2446.5, 50.799999237061, 0, 0, 316);
    CreateDynamicObject(10937, 482.10000610352, -2626.6000976563, 48.099998474121, 0, 0, 307.99975585938);
    CreateDynamicObject(10937, 265.10000610352, -2796.1999511719, 45.099998474121, 0, 0, 307.99621582031);
    CreateDynamicObject(10937, 50, -2964.3999023438, 41.799999237061, 0, 0, 307.99621582031);
    CreateDynamicObject(981, 140.89999389648, -2876.5, 47.299999237061, 0, 5, 40);
    CreateDynamicObject(981, 144, -2874, 46.799999237061, 0, 4.998779296875, 39.995727539063);
    CreateDynamicObject(981, 155.10000610352, -2898.8999023438, 47.599998474121, 0, 356, 215.99574279785);
    CreateDynamicObject(981, 151.89999389648, -2900.6999511719, 47.599998474121, 0, 355.99548339844, 217.9912109375);
    CreateDynamicObject(10968, -97.699996948242, -3082, 46.599998474121, 0, 0, 220);
    CreateDynamicObject(10820, -208.19999694824, -3174, 50.099998474121, 0, 0, 220);
    CreateDynamicObject(10821, -325, -3271.8999023438, 66.199996948242, 0, 0, 40);
    CreateDynamicObject(10823, -485.29998779297, -3381.6999511719, 63.900001525879, 0, 0, 208);
    CreateDynamicObject(10823, -647.59997558594, -3453.8999023438, 63.900001525879, 0, 0, 19.998657226563);
    CreateDynamicObject(10858, -800.79998779297, -3508.1999511719, 29.5, 0, 0, 290);
    CreateDynamicObject(10858, -935.29998779297, -3453.3999023438, 29.799999237061, 0, 0, 243.9951171875);
    CreateDynamicObject(6449, -975.79998779297, -3333.3999023438, 54.299999237061, 0, 0, 18);
    CreateDynamicObject(6448, -1060.4000244141, -3243.1000976563, 67.300003051758, 0, 0, 18);
    CreateDynamicObject(6450, -1053.5999755859, -3126.6000976563, 66.699996948242, 1, 0, 20);
    CreateDynamicObject(6876, -1076.3000488281, -3046.1000976563, 73.699996948242, 0, 357, 208);
    CreateDynamicObject(6876, -1170.0999755859, -3068.1000976563, 77.300003051758, 0, 0, 312);
    CreateDynamicObject(6877, -1264.9000244141, -2981, 65.199996948242, 0, 348, 314);
    CreateDynamicObject(6877, -1287.3000488281, -2960.3000488281, 59.799999237061, 0, 347, 315.99975585938);
    CreateDynamicObject(16303, -1090.4000244141, -3050.1999511719, 67.400001525879, 0, 0, 306);
    CreateDynamicObject(16303, -1095.1999511719, -3051.8000488281, 67.400001525879, 0, 0, 305.99670410156);
    CreateDynamicObject(16303, -1018.299987793, -3268.8000488281, 44.5, 0, 0, 305.99670410156);
    CreateDynamicObject(16303, -1014.5999755859, -3267.3999023438, 44.5, 0, 0, 305.99670410156);
    CreateDynamicObject(16303, -1003.799987793, -3302.3999023438, 43, 0, 355, 121.99670410156);
    CreateDynamicObject(3996, -753.29998779297, -3480.6000976563, 48.299999237061, 0, 0, 198);
    CreateDynamicObject(981, -784.5, -3486.6999511719, 49.200000762939, 0, 0, 102);
    CreateDynamicObject(981, -784.90002441406, -3483.1999511719, 49.200000762939, 0, 0, 101.9970703125);
    CreateDynamicObject(981, -1151.5999755859, -3100.6000976563, 77.099998474121, 0, 0, 221.9970703125);
    CreateDynamicObject(981, -1088.3000488281, -3041.1999511719, 74.699996948242, 0, 0, 281.99157714844);
    CreateDynamicObject(981, -1088.2998046875, -3041.19921875, 74.699996948242, 0, 0, 281.99157714844);
    CreateDynamicObject(981, -1153.9000244141, -3102.6000976563, 77.099998474121, 0, 0, 221.99523925781);
    CreateDynamicObject(16303, -140.39999389648, -3105.6000976563, 31.10000038147, 0, 0, 232);
    CreateDynamicObject(16303, -137.30000305176, -3109.1999511719, 31.10000038147, 0, 0, 231.99830627441);
    CreateDynamicObject(16303, -131, -3117.1000976563, 31.10000038147, 0, 0, 232);
    CreateDynamicObject(16303, -127.5, -3121.3000488281, 31.10000038147, 0, 0, 231.99830627441);
    CreateDynamicObject(8843, 1345.5999755859, -2586.8999023438, 12.39999961853, 0, 0, 10);
    CreateDynamicObject(8843, 1336.0999755859, -2581.1999511719, 12.89999961853, 0, 0, 97.99755859375);
    CreateDynamicObject(8843, 1331.0999755859, -2578, 12.89999961853, 0, 0, 185.99255371094);
    CreateDynamicObject(1318, -1319.8000488281, -2915.6000976563, 49.700000762939, 0, 100, 8);
    CreateDynamicObject(1318, -1319.4000244141, -2916, 49.700000762939, 0, 99.99755859375, 109.99652099609);
    CreateDynamicObject(1318, -1318, -2927.3999023438, 50.099998474121, 0, 70, 341.9951171875);
    CreateDynamicObject(1318, -1330.8000488281, -2925.1000976563, 48.599998474121, 0, 100, 159.99340820313);
    CreateDynamicObject(1318, -1330.6999511719, -2924.6000976563, 48.599998474121, 0, 100, 199.98840332031);
    return 1;
}

EDIT: DON'T SPAM AND BUMP IN A SHORT TIME
Reply
#4

Quote:
Originally Posted by Red_Dragon.
Посмотреть сообщение
Re-compile ? if worked, it is ok
if didn't work, try this WITH THE LATEST STREAMER PLUGIN: [pawn]#include <a_samp>



EDIT: DON'T SPAM AND BUMP IN A SHORT TIME
Ok I have looked into it and I do have the newest plugin but still not working ive recompiled it like 30 times to is the a max filerscript loading policy?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)