02.08.2009, 21:08
IT DOSN'T WORKKKKKKKKK ARGHH
I tried to use MidoStream.
I put the inc in includes,
I compiled the pwn
I wrote MidoStream in server.cfg
And the server log says
The code of mappe1.amx is
I tried to use MidoStream.
I put the inc in includes,
I compiled the pwn
I wrote MidoStream in server.cfg
And the server log says
Код:
---------- Loaded log file: "server_log.txt". ---------- SA:MP Dedicated Server ---------------------- v0.2X, ©2005-2008 SA:MP Team [22:56:49] [22:56:49] Server Plugins [22:56:49] -------------- [22:56:49] Loaded 0 plugins. [22:56:49] [22:56:49] Filter Scripts [22:56:49] --------------- [22:56:49] Loading filter script 'MidoStream.amx'... [22:56:49] Loading filter script 'mappe1.amx'... [22:56:49] Loaded 2 filter scripts. [22:56:49] ---------------------------------- [22:56:49] Mappe [22:56:49] ---------------------------------- [22:57:20] Incomming connection: 127.0.0.1:1515 [22:57:20] [join] Guglio has joined the server (0:127.0.0.1) [22:57:46] [part] Guglio has left the server (0:1)
Код:
#include <a_samp>
#include <MidoStream>
#define COLOR_RED 0xAA3333AA
#define COLOR_BLUE 0x33AAFFFF
#define COLOR_LIGHTBLUE 0x33AAFFFF
#if defined FILTERSCRIPT
forward AnnounceMSG();
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Mappe caricate");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Mappe caricate");
print("----------------------------------\n");
}
#endif
public OnGameModeInit()
{
// MOD
CreateStreamObject(8171, 66.667175, 2579.032959, 25.315647, 0.0000, 329.9197, 90.0000, 500);
CreateStreamObject(8171, 202.009659, 2579.020996, 25.306795, 0.0000, 329.9197, 90.0000, 500);
CreateStreamObject(8171, 337.927185, 2579.069580, 25.287834, 0.0000, 329.9197, 90.0000, 500);
CreateStreamObject(8171, 475.110565, 2579.068359, 25.329439, 0.0000, 329.9197, 90.0000, 500);
CreateStreamObject(4867, 323.924866, 2687.851318, 35.347015, 0.0000, 0.0000, 0.0000, 500);
CreateStreamObject(4867, 114.912338, 2687.892578, 35.316605, 0.0000, 0.0000, 0.0000, 500);
// EXC EXC
// EXC EXC
// EXC EXC
// MOD
return 1;
}
public OnPlayerDisconnect(playerid,reason)
{
MidoStreamDisconnect(playerid);
}

