No objects
#1

Helly my friends,
I have a problem i have scripted a map but when I converting and put this in filterscripts folder and writing for example Map load samp-server.exe succesful.
But i can not see Objects in the game.
Can anyone help me?

Код:
#include <a_samp>

// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#if defined FILTERSCRIPT
#define COLOR_RED 0xDF1818AA

CreateObject(11095, 2055.849121, 921.298462, 13.383312, 0.000000, 0.000000, 89.999981276); //
CreateObject(1634, 2074.978760, 940.695618, 10.068707, 0.000000, 0.000000, -180.000019848); //
CreateObject(1634, 2038.897339, 940.904663, 10.077339, 0.000000, 0.000000, -180.000019848); //
CreateObject(13641, 2073.871094, 1248.762451, 10.700000, 0.000000, 0.000000, -89.999981276); //
CreateObject(3279, 2102.489746, 936.687317, 9.895929, 0.000000, 0.000000, 0.000000); //
CreateObject(9482, 2147.885010, 963.482239, 16.303825, 0.000000, 0.000000, -89.999981276); //
CreateObject(3528, 2022.627930, 1007.252930, 16.902857, 0.000000, 0.000000, 0.000000); //
CreateObject(3524, 2026.883423, 1014.541321, 12.698034, 0.000000, 0.000000, 78.7500122644); //
CreateObject(3524, 2026.680542, 1000.723145, 12.705652, 0.000000, 0.000000, 78.7500122644); //
CreateObject(1225, 2155.127930, 957.471863, 10.226068, 0.000000, 0.000000, 0.000000); //
CreateObject(1225, 2155.355469, 953.408691, 10.226068, 0.000000, 0.000000, 0.000000); //
CreateObject(1225, 2155.087158, 955.496948, 10.226068, 0.000000, 0.000000, 0.000000); //
CreateObject(1225, 2154.812012, 959.459412, 10.226068, 0.000000, 0.000000, 0.000000); //
CreateObject(1225, 2155.502930, 950.961426, 10.226068, 0.000000, 0.000000, 0.000000); //
CreateObject(8040, 2197.107178, 3115.989258, 4089.622559, 0.000000, 0.000000, -78.7500122644); //
CreateObject(16358, 2226.822510, 2965.552734, 4057.500000, 0.000000, 344.789499925, -258.750032112); //
CreateObject(16358, 2271.600098, 2740.188477, 3995.000000, 0.000000, 344.789499925, -258.750032112); //
CreateObject(16358, 2316.724121, 2513.682373, 3932.199951, 0.000000, 344.789499925, -258.750032112); //
CreateObject(16358, 2354.300537, 2325.100098, 3809.060059, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2384.000000, 2176.000000, 3624.000000, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2413.632324, 2027.207275, 3439.299072, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2443.312988, 1877.843994, 3253.850098, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2472.979980, 1728.999023, 3069.120117, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2502.000000, 1582.972046, 2887.899902, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2531.196045, 1436.307007, 2705.840088, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2560.499023, 1288.951660, 2522.979980, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2590.073975, 1140.092896, 2338.219971, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2619.620117, 991.763916, 2154.025879, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2649.250000, 842.700012, 1968.998047, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2678.404541, 696.445984, 1787.379028, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2708.071777, 547.513916, 1602.449951, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2737.649902, 398.906006, 1417.959961, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2767.100098, 250.740005, 1233.999023, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2796.550049, 102.355003, 1049.770020, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2826.250000, -47.000000, 864.349976, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2855.899902, -196.000000, 679.359985, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2871.188965, -269.884583, 590.650879, 0.000000, 28.6478897565, -1158.72354611); //
CreateObject(16358, 2861.300049, -220.000000, 582.200012, 0.000000, 0.000000, -78.7500122644); //
CreateObject(16358, 2826.300049, -46.867001, 864.500000, 0.000000, 309.397209371, -258.750032112); //
CreateObject(652, 2219.723145, 3084.299805, 4088.945557, 0.000000, 0.000000, 0.000000); //
CreateObject(10838, 2205.245117, 3080.641357, 4106.416992, 0.000000, 0.000000, -78.7500122644); //
CreateObject(4641, 2215.864990, 3080.964600, 4090.553467, 0.000000, 0.000000, -348.749956093); //
CreateObject(4641, 2194.085693, 3076.907471, 4090.553467, 0.000000, 0.000000, -348.749956093); //
CreateObject(968, 2196.234619, 3076.128174, 4088.916260, 0.000000, 0.000000, 11.2500263074); //
CreateObject(968, 2212.552002, 3080.781006, 4088.916260, 0.000000, 0.000000, 11.2500263074); //
CreateObject(1237, 2196.634521, 3075.768555, 4088.859863, 0.000000, 0.000000, 0.000000); //
CreateObject(1237, 2212.587646, 3079.426270, 4088.867432, 0.000000, 0.000000, 0.000000); //
CreateObject(3627, 2190.003174, 3146.482422, 4092.696533, 0.000000, 0.000000, -78.7500122644); //
CreateObject(652, 2187.587646, 3078.176025, 4088.945557, 0.000000, 0.000000, 0.000000); //
CreateObject(652, 2182.733887, 3104.058594, 4088.945557, 0.000000, 0.000000, 0.000000); //
CreateObject(652, 2214.963135, 3110.339355, 4088.945557, 0.000000, 0.000000, 0.000000); //
CreateObject(652, 2210.442871, 3132.149414, 4088.945557, 0.000000, 0.000000, 0.000000); //
CreateObject(652, 2178.515625, 3126.072754, 4088.945557, 0.000000, 0.000000, 0.000000); //


public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}

public OnFilterScriptExit()
{
return 1;
}

#else

main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}

public OnGameModeExit()
{
return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}

public OnPlayerRequestSpawn(playerid)
{
return 1;
}

public OnPlayerConnect(playerid)
{
return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
return 1;
}

public OnPlayerSpawn(playerid)
{
return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}

public OnVehicleSpawn(vehicleid)
{
return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}

public OnPlayerText(playerid, text[])
{
return 1;
}

public OnPlayerPrivmsg(playerid, recieverid, text[])
{
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
if(!strcmp(cmdtext, "/skroad"))
  {
    SetPlayerPos(playerid, 2208.957031, 3108.475830, 4089.916016);
    SendClientMessage(playerid, 0xDF1818AA , "SKROAD");
    return 1;
  }
return 0;
}

public OnPlayerInfoChange(playerid)
{
return 1;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}

public OnRconCommand(cmd[])
{
return 1;
}

public OnObjectMoved(objectid)
{
return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}

public OnPlayerExitedMenu(playerid)
{
return 1;
}
Reply
#2

You have to put the objects under OnFilterScriptInit
Reply
#3

You can't put objects outside function/callback. You should use them at OnGameModeInit (if you're using script as gamemode) or at OnFilterScriptInit (if you're using script as filterscript).
Reply
#4

Mainly, remove the "//" before "#define FILTERSCRIPT"!!!
LMFAO!
Reply
#5

I have 2 Errors.
Can anyone help me?
Код:
C:\Dokumente und Einstellungen\Agakoc\Desktop\Kopie von son.pwn(12) : error 021: symbol already defined: "CreateObject"
C:\Dokumente und Einstellungen\Agakoc\Desktop\Kopie von son.pwn(68) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Код:
#include <a_samp>

// This is a comment
// uncomment the line below if you want to write a filterscript
#define FILTERSCRIPT
#if defined FILTERSCRIPT
#define COLOR_RED 0xDF1818AA


public OnFilterScriptInit()
CreateObject(11095, 2055.849121, 921.298462, 13.383312, 0.000000, 0.000000, 89.999981276); //
CreateObject(1634, 2074.978760, 940.695618, 10.068707, 0.000000, 0.000000, -180.000019848); //
CreateObject(1634, 2038.897339, 940.904663, 10.077339, 0.000000, 0.000000, -180.000019848); //
CreateObject(13641, 2073.871094, 1248.762451, 10.700000, 0.000000, 0.000000, -89.999981276); //
CreateObject(3279, 2102.489746, 936.687317, 9.895929, 0.000000, 0.000000, 0.000000); //
CreateObject(9482, 2147.885010, 963.482239, 16.303825, 0.000000, 0.000000, -89.999981276); //
CreateObject(3528, 2022.627930, 1007.252930, 16.902857, 0.000000, 0.000000, 0.000000); //
CreateObject(3524, 2026.883423, 1014.541321, 12.698034, 0.000000, 0.000000, 78.7500122644); //
CreateObject(3524, 2026.680542, 1000.723145, 12.705652, 0.000000, 0.000000, 78.7500122644); //
CreateObject(1225, 2155.127930, 957.471863, 10.226068, 0.000000, 0.000000, 0.000000); //
CreateObject(1225, 2155.355469, 953.408691, 10.226068, 0.000000, 0.000000, 0.000000); //
CreateObject(1225, 2155.087158, 955.496948, 10.226068, 0.000000, 0.000000, 0.000000); //
CreateObject(1225, 2154.812012, 959.459412, 10.226068, 0.000000, 0.000000, 0.000000); //
CreateObject(1225, 2155.502930, 950.961426, 10.226068, 0.000000, 0.000000, 0.000000); //
CreateObject(8040, 2197.107178, 3115.989258, 4089.622559, 0.000000, 0.000000, -78.7500122644); //
CreateObject(16358, 2226.822510, 2965.552734, 4057.500000, 0.000000, 344.789499925, -258.750032112); //
CreateObject(16358, 2271.600098, 2740.188477, 3995.000000, 0.000000, 344.789499925, -258.750032112); //
CreateObject(16358, 2316.724121, 2513.682373, 3932.199951, 0.000000, 344.789499925, -258.750032112); //
CreateObject(16358, 2354.300537, 2325.100098, 3809.060059, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2384.000000, 2176.000000, 3624.000000, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2413.632324, 2027.207275, 3439.299072, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2443.312988, 1877.843994, 3253.850098, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2472.979980, 1728.999023, 3069.120117, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2502.000000, 1582.972046, 2887.899902, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2531.196045, 1436.307007, 2705.840088, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2560.499023, 1288.951660, 2522.979980, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2590.073975, 1140.092896, 2338.219971, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2619.620117, 991.763916, 2154.025879, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2649.250000, 842.700012, 1968.998047, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2678.404541, 696.445984, 1787.379028, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2708.071777, 547.513916, 1602.449951, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2737.649902, 398.906006, 1417.959961, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2767.100098, 250.740005, 1233.999023, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2796.550049, 102.355003, 1049.770020, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2826.250000, -47.000000, 864.349976, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2855.899902, -196.000000, 679.359985, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2871.188965, -269.884583, 590.650879, 0.000000, 28.6478897565, -1158.72354611); //
CreateObject(16358, 2861.300049, -220.000000, 582.200012, 0.000000, 0.000000, -78.7500122644); //
CreateObject(16358, 2826.300049, -46.867001, 864.500000, 0.000000, 309.397209371, -258.750032112); //
CreateObject(652, 2219.723145, 3084.299805, 4088.945557, 0.000000, 0.000000, 0.000000); //
CreateObject(10838, 2205.245117, 3080.641357, 4106.416992, 0.000000, 0.000000, -78.7500122644); //
CreateObject(4641, 2215.864990, 3080.964600, 4090.553467, 0.000000, 0.000000, -348.749956093); //
CreateObject(4641, 2194.085693, 3076.907471, 4090.553467, 0.000000, 0.000000, -348.749956093); //
CreateObject(968, 2196.234619, 3076.128174, 4088.916260, 0.000000, 0.000000, 11.2500263074); //
CreateObject(968, 2212.552002, 3080.781006, 4088.916260, 0.000000, 0.000000, 11.2500263074); //
CreateObject(1237, 2196.634521, 3075.768555, 4088.859863, 0.000000, 0.000000, 0.000000); //
CreateObject(1237, 2212.587646, 3079.426270, 4088.867432, 0.000000, 0.000000, 0.000000); //
CreateObject(3627, 2190.003174, 3146.482422, 4092.696533, 0.000000, 0.000000, -78.7500122644); //
CreateObject(652, 2187.587646, 3078.176025, 4088.945557, 0.000000, 0.000000, 0.000000); //
CreateObject(652, 2182.733887, 3104.058594, 4088.945557, 0.000000, 0.000000, 0.000000); //
CreateObject(652, 2214.963135, 3110.339355, 4088.945557, 0.000000, 0.000000, 0.000000); //
CreateObject(652, 2210.442871, 3132.149414, 4088.945557, 0.000000, 0.000000, 0.000000); //
CreateObject(652, 2178.515625, 3126.072754, 4088.945557, 0.000000, 0.000000, 0.000000); //
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}

public OnFilterScriptExit()
{
return 1;
}

#else

main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}

public OnGameModeExit()
{
return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}

public OnPlayerRequestSpawn(playerid)
{
return 1;
}

public OnPlayerConnect(playerid)
{
return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
return 1;
}

public OnPlayerSpawn(playerid)
{
return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}

public OnVehicleSpawn(vehicleid)
{
return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}

public OnPlayerText(playerid, text[])
{
return 1;
}

public OnPlayerPrivmsg(playerid, recieverid, text[])
{
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
if(!strcmp(cmdtext, "/skroad"))
  {
    SetPlayerPos(playerid, 2208.957031, 3108.475830, 4089.916016);
    SendClientMessage(playerid, 0xDF1818AA , "SKROAD");
    return 1;
  }
return 0;
}

public OnPlayerInfoChange(playerid)
{
return 1;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}

public OnRconCommand(cmd[])
{
return 1;
}

public OnObjectMoved(objectid)
{
return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}

public OnPlayerExitedMenu(playerid)
{
return 1;
}
Reply
#6

pawn Код:
public OnFilterScriptInit()
{
CreateObject(11095, 2055.849121, 921.298462, 13.383312, 0.000000, 0.000000, 89.999981276); //
CreateObject(1634, 2074.978760, 940.695618, 10.068707, 0.000000, 0.000000, -180.000019848); //
CreateObject(1634, 2038.897339, 940.904663, 10.077339, 0.000000, 0.000000, -180.000019848); //
CreateObject(13641, 2073.871094, 1248.762451, 10.700000, 0.000000, 0.000000, -89.999981276); //
CreateObject(3279, 2102.489746, 936.687317, 9.895929, 0.000000, 0.000000, 0.000000); //
CreateObject(9482, 2147.885010, 963.482239, 16.303825, 0.000000, 0.000000, -89.999981276); //
CreateObject(3528, 2022.627930, 1007.252930, 16.902857, 0.000000, 0.000000, 0.000000); //
CreateObject(3524, 2026.883423, 1014.541321, 12.698034, 0.000000, 0.000000, 78.7500122644); //
CreateObject(3524, 2026.680542, 1000.723145, 12.705652, 0.000000, 0.000000, 78.7500122644); //
CreateObject(1225, 2155.127930, 957.471863, 10.226068, 0.000000, 0.000000, 0.000000); //
CreateObject(1225, 2155.355469, 953.408691, 10.226068, 0.000000, 0.000000, 0.000000); //
CreateObject(1225, 2155.087158, 955.496948, 10.226068, 0.000000, 0.000000, 0.000000); //
CreateObject(1225, 2154.812012, 959.459412, 10.226068, 0.000000, 0.000000, 0.000000); //
CreateObject(1225, 2155.502930, 950.961426, 10.226068, 0.000000, 0.000000, 0.000000); //
CreateObject(8040, 2197.107178, 3115.989258, 4089.622559, 0.000000, 0.000000, -78.7500122644); //
CreateObject(16358, 2226.822510, 2965.552734, 4057.500000, 0.000000, 344.789499925, -258.750032112); //
CreateObject(16358, 2271.600098, 2740.188477, 3995.000000, 0.000000, 344.789499925, -258.750032112); //
CreateObject(16358, 2316.724121, 2513.682373, 3932.199951, 0.000000, 344.789499925, -258.750032112); //
CreateObject(16358, 2354.300537, 2325.100098, 3809.060059, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2384.000000, 2176.000000, 3624.000000, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2413.632324, 2027.207275, 3439.299072, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2443.312988, 1877.843994, 3253.850098, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2472.979980, 1728.999023, 3069.120117, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2502.000000, 1582.972046, 2887.899902, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2531.196045, 1436.307007, 2705.840088, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2560.499023, 1288.951660, 2522.979980, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2590.073975, 1140.092896, 2338.219971, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2619.620117, 991.763916, 2154.025879, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2649.250000, 842.700012, 1968.998047, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2678.404541, 696.445984, 1787.379028, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2708.071777, 547.513916, 1602.449951, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2737.649902, 398.906006, 1417.959961, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2767.100098, 250.740005, 1233.999023, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2796.550049, 102.355003, 1049.770020, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2826.250000, -47.000000, 864.349976, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2855.899902, -196.000000, 679.359985, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2871.188965, -269.884583, 590.650879, 0.000000, 28.6478897565, -1158.72354611); //
CreateObject(16358, 2861.300049, -220.000000, 582.200012, 0.000000, 0.000000, -78.7500122644); //
CreateObject(16358, 2826.300049, -46.867001, 864.500000, 0.000000, 309.397209371, -258.750032112); //
CreateObject(652, 2219.723145, 3084.299805, 4088.945557, 0.000000, 0.000000, 0.000000); //
CreateObject(10838, 2205.245117, 3080.641357, 4106.416992, 0.000000, 0.000000, -78.7500122644); //
CreateObject(4641, 2215.864990, 3080.964600, 4090.553467, 0.000000, 0.000000, -348.749956093); //
CreateObject(4641, 2194.085693, 3076.907471, 4090.553467, 0.000000, 0.000000, -348.749956093); //
CreateObject(968, 2196.234619, 3076.128174, 4088.916260, 0.000000, 0.000000, 11.2500263074); //
CreateObject(968, 2212.552002, 3080.781006, 4088.916260, 0.000000, 0.000000, 11.2500263074); //
CreateObject(1237, 2196.634521, 3075.768555, 4088.859863, 0.000000, 0.000000, 0.000000); //
CreateObject(1237, 2212.587646, 3079.426270, 4088.867432, 0.000000, 0.000000, 0.000000); //
CreateObject(3627, 2190.003174, 3146.482422, 4092.696533, 0.000000, 0.000000, -78.7500122644); //
CreateObject(652, 2187.587646, 3078.176025, 4088.945557, 0.000000, 0.000000, 0.000000); //
CreateObject(652, 2182.733887, 3104.058594, 4088.945557, 0.000000, 0.000000, 0.000000); //
CreateObject(652, 2214.963135, 3110.339355, 4088.945557, 0.000000, 0.000000, 0.000000); //
CreateObject(652, 2210.442871, 3132.149414, 4088.945557, 0.000000, 0.000000, 0.000000); //
CreateObject(652, 2178.515625, 3126.072754, 4088.945557, 0.000000, 0.000000, 0.000000); //
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
And that, that's your new OnFilterScriptInit callback.
Reply
#7

2 Errors

Код:
C:\Dokumente und Einstellungen\Agakoc\Desktop\Kopie von son.pwn(70) : error 021: symbol already defined: "print"
C:\Dokumente und Einstellungen\Agakoc\Desktop\Kopie von son.pwn(73) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply
#8

Код:
public OnFilterScriptInit()
{
CreateObject(11095, 2055.849121, 921.298462, 13.383312, 0.000000, 0.000000, 89.999981276); //
CreateObject(1634, 2074.978760, 940.695618, 10.068707, 0.000000, 0.000000, -180.000019848); //
CreateObject(1634, 2038.897339, 940.904663, 10.077339, 0.000000, 0.000000, -180.000019848); //
CreateObject(13641, 2073.871094, 1248.762451, 10.700000, 0.000000, 0.000000, -89.999981276); //
CreateObject(3279, 2102.489746, 936.687317, 9.895929, 0.000000, 0.000000, 0.000000); //
CreateObject(9482, 2147.885010, 963.482239, 16.303825, 0.000000, 0.000000, -89.999981276); //
CreateObject(3528, 2022.627930, 1007.252930, 16.902857, 0.000000, 0.000000, 0.000000); //
CreateObject(3524, 2026.883423, 1014.541321, 12.698034, 0.000000, 0.000000, 78.7500122644); //
CreateObject(3524, 2026.680542, 1000.723145, 12.705652, 0.000000, 0.000000, 78.7500122644); //
CreateObject(1225, 2155.127930, 957.471863, 10.226068, 0.000000, 0.000000, 0.000000); //
CreateObject(1225, 2155.355469, 953.408691, 10.226068, 0.000000, 0.000000, 0.000000); //
CreateObject(1225, 2155.087158, 955.496948, 10.226068, 0.000000, 0.000000, 0.000000); //
CreateObject(1225, 2154.812012, 959.459412, 10.226068, 0.000000, 0.000000, 0.000000); //
CreateObject(1225, 2155.502930, 950.961426, 10.226068, 0.000000, 0.000000, 0.000000); //
CreateObject(8040, 2197.107178, 3115.989258, 4089.622559, 0.000000, 0.000000, -78.7500122644); //
CreateObject(16358, 2226.822510, 2965.552734, 4057.500000, 0.000000, 344.789499925, -258.750032112); //
CreateObject(16358, 2271.600098, 2740.188477, 3995.000000, 0.000000, 344.789499925, -258.750032112); //
CreateObject(16358, 2316.724121, 2513.682373, 3932.199951, 0.000000, 344.789499925, -258.750032112); //
CreateObject(16358, 2354.300537, 2325.100098, 3809.060059, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2384.000000, 2176.000000, 3624.000000, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2413.632324, 2027.207275, 3439.299072, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2443.312988, 1877.843994, 3253.850098, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2472.979980, 1728.999023, 3069.120117, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2502.000000, 1582.972046, 2887.899902, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2531.196045, 1436.307007, 2705.840088, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2560.499023, 1288.951660, 2522.979980, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2590.073975, 1140.092896, 2338.219971, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2619.620117, 991.763916, 2154.025879, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2649.250000, 842.700012, 1968.998047, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2678.404541, 696.445984, 1787.379028, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2708.071777, 547.513916, 1602.449951, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2737.649902, 398.906006, 1417.959961, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2767.100098, 250.740005, 1233.999023, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2796.550049, 102.355003, 1049.770020, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2826.250000, -47.000000, 864.349976, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2855.899902, -196.000000, 679.359985, 0.000000, 309.397209371, -258.750032112); //
CreateObject(16358, 2871.188965, -269.884583, 590.650879, 0.000000, 28.6478897565, -1158.72354611); //
CreateObject(16358, 2861.300049, -220.000000, 582.200012, 0.000000, 0.000000, -78.7500122644); //
CreateObject(16358, 2826.300049, -46.867001, 864.500000, 0.000000, 309.397209371, -258.750032112); //
CreateObject(652, 2219.723145, 3084.299805, 4088.945557, 0.000000, 0.000000, 0.000000); //
CreateObject(10838, 2205.245117, 3080.641357, 4106.416992, 0.000000, 0.000000, -78.7500122644); //
CreateObject(4641, 2215.864990, 3080.964600, 4090.553467, 0.000000, 0.000000, -348.749956093); //
CreateObject(4641, 2194.085693, 3076.907471, 4090.553467, 0.000000, 0.000000, -348.749956093); //
CreateObject(968, 2196.234619, 3076.128174, 4088.916260, 0.000000, 0.000000, 11.2500263074); //
CreateObject(968, 2212.552002, 3080.781006, 4088.916260, 0.000000, 0.000000, 11.2500263074); //
CreateObject(1237, 2196.634521, 3075.768555, 4088.859863, 0.000000, 0.000000, 0.000000); //
CreateObject(1237, 2212.587646, 3079.426270, 4088.867432, 0.000000, 0.000000, 0.000000); //
CreateObject(3627, 2190.003174, 3146.482422, 4092.696533, 0.000000, 0.000000, -78.7500122644); //
CreateObject(652, 2187.587646, 3078.176025, 4088.945557, 0.000000, 0.000000, 0.000000); //
CreateObject(652, 2182.733887, 3104.058594, 4088.945557, 0.000000, 0.000000, 0.000000); //
CreateObject(652, 2214.963135, 3110.339355, 4088.945557, 0.000000, 0.000000, 0.000000); //
CreateObject(652, 2210.442871, 3132.149414, 4088.945557, 0.000000, 0.000000, 0.000000); //
CreateObject(652, 2178.515625, 3126.072754, 4088.945557, 0.000000, 0.000000, 0.000000); //
return 1;
}
________
CUM DOWN THROAT
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)