19.08.2013, 11:19
Hello, so i have a problem with mah server, when ever someone do 5 spree server crashes
Crash Report
Under player death callback
Crash Report
Quote:
Originally Posted by Crash Detect Plugin
[16:26:34] Incoming connection: 127.0.0.1:53328
[16:26:44] Incoming connection: 127.0.0.1:49768 [16:26:54] Incoming connection: 127.0.0.1:49769 [16:26:54] [join] Insulin has joined the server (0:127.0.0.1) [16:26:54] [debug] Run time error 4: "Array index out of bounds" [16:26:54] [debug] Accessing element at index 65535 past array upper bound 19 [16:26:54] [debug] AMX backtrace: [16:26:54] [debug] #0 000004ac in public OnPlayerTakeDamage () from dmg.amx [16:26:54] [debug] Run time error 4: "Array index out of bounds" [16:26:54] [debug] Accessing element at index 65535 past array upper bound 149 [16:26:54] [debug] AMX backtrace: [16:26:54] [debug] #0 000443f4 in public OnPlayerTakeDamage () from V11.amx [16:26:56] [debug] Run time error 4: "Array index out of bounds" [16:26:56] [debug] Accessing element at index 65535 past array upper bound 19 [16:26:56] [debug] AMX backtrace: [16:26:56] [debug] #0 000004ac in public OnPlayerTakeDamage () from dmg.amx [16:26:56] [debug] Run time error 4: "Array index out of bounds" [16:26:56] [debug] Accessing element at index 65535 past array upper bound 149 [16:26:56] [debug] AMX backtrace: [16:26:56] [debug] #0 000443f4 in public OnPlayerTakeDamage () from V11.amx [16:26:58] [debug] Run time error 4: "Array index out of bounds" [16:26:58] [debug] Accessing element at index 65535 past array upper bound 19 [16:26:58] [debug] AMX backtrace: [16:26:58] [debug] #0 000004ac in public OnPlayerTakeDamage () from dmg.amx [16:26:58] [debug] Run time error 4: "Array index out of bounds" [16:26:58] [debug] Accessing element at index 65535 past array upper bound 149 [16:26:58] [debug] AMX backtrace: [16:26:58] [debug] #0 000443f4 in public OnPlayerTakeDamage () from V11.amx [16:27:14] [debug] Run time error 4: "Array index out of bounds" [16:27:14] [debug] Accessing element at index 4 past array upper bound 3 [16:27:14] [debug] AMX backtrace: [16:27:14] [debug] #0 000cf8fc in public PingKick () from V11.amx [16:28:10] [debug] Run time error 4: "Array index out of bounds" [16:28:10] [debug] Accessing element at index 4 past array upper bound 3 [16:28:10] [debug] AMX backtrace: [16:28:10] [debug] #0 000cf8fc in public PingKick () from V11.amx [16:28:26] Incoming connection: 188.48.75.204:58860 [16:28:28] [join] [COD]AnOnYmOuS has joined the server (1:188.48.75.204) [16:28:36] [debug] Run time error 4: "Array index out of bounds" [16:28:36] [debug] Accessing element at index 65535 past array upper bound 499 [16:28:36] [debug] AMX backtrace: [16:28:36] [debug] #0 000424ec in ?? () from V11.amx [16:28:36] [debug] #1 0003f5d8 in public FC_OnPlayerDeath () from V11.amx [16:28:36] [debug] #2 native CallLocalFunction () [00471e90] from samp-server.exe [16:28:36] [debug] #3 0000dcec in public OnPlayerDeath () from V11.amx [16:28:36] [death] Insulin died 255 [16:28:36] [debug] Run time error 4: "Array index out of bounds" [16:28:36] [debug] Accessing element at index 65535 past array upper bound 19 [16:28:36] [debug] AMX backtrace: [16:28:36] [debug] #0 000004ac in public OnPlayerTakeDamage () from dmg.amx [16:28:36] [debug] Run time error 4: "Array index out of bounds" [16:28:36] [debug] Accessing element at index 65535 past array upper bound 149 [16:28:36] [debug] AMX backtrace: [16:28:36] [debug] #0 000443f4 in public OnPlayerTakeDamage () from V11.amx [16:28:58] [debug] Run time error 4: "Array index out of bounds" [16:28:58] [debug] Accessing element at index 20 past array upper bound 19 [16:28:58] [debug] AMX backtrace: [16:28:58] [debug] #0 00001228 in public dmgTdUpdate () from dmg.amx [16:29:01] [debug] Run time error 4: "Array index out of bounds" [16:29:01] [debug] Accessing element at index 20 past array upper bound 19 [16:29:01] [debug] AMX backtrace: [16:29:01] [debug] #0 00001228 in public dmgTdUpdate () from dmg.amx [16:29:04] [kill] Insulin killed [COD]AnOnYmOuS Sawn-off Shotgun [16:29:04] [debug] Run time error 4: "Array index out of bounds" [16:29:04] [debug] Accessing element at index 65535 past array upper bound 19 [16:29:04] [debug] AMX backtrace: [16:29:04] [debug] #0 000004ac in public OnPlayerTakeDamage () from dmg.amx [16:29:04] [debug] Run time error 4: "Array index out of bounds" [16:29:04] [debug] Accessing element at index 65535 past array upper bound 149 [16:29:04] [debug] AMX backtrace: [16:29:04] [debug] #0 000443f4 in public OnPlayerTakeDamage () from V11.amx [16:29:05] [debug] Run time error 4: "Array index out of bounds" [16:29:05] [debug] Accessing element at index 4 past array upper bound 3 [16:29:05] [debug] AMX backtrace: [16:29:05] [debug] #0 000cf8fc in public PingKick () from V11.amx [16:29:07] [debug] Run time error 4: "Array index out of bounds" [16:29:07] [debug] Accessing element at index 20 past array upper bound 19 [16:29:07] [debug] AMX backtrace: [16:29:07] [debug] #0 00001228 in public dmgTdUpdate () from dmg.amx [16:29:09] [debug] Run time error 4: "Array index out of bounds" [16:29:09] [debug] Accessing element at index 150 past array upper bound 149 [16:29:09] [debug] AMX backtrace: [16:29:09] [debug] #0 000452a0 in public dmgTdUpdate () from V11.amx [16:29:10] Insulin(0): {FFFFFF}crashdetect [16:29:14] Insulin(0): {FFFFFF}wil ltell me y it crashed [16:29:26] [kill] Insulin killed [COD]AnOnYmOuS Sawn-off Shotgun [16:29:26] [debug] Run time error 4: "Array index out of bounds" [16:29:26] [debug] Accessing element at index 65535 past array upper bound 19 [16:29:26] [debug] AMX backtrace: [16:29:26] [debug] #0 000004ac in public OnPlayerTakeDamage () from dmg.amx [16:29:26] [debug] Run time error 4: "Array index out of bounds" [16:29:26] [debug] Accessing element at index 65535 past array upper bound 149 [16:29:26] [debug] AMX backtrace: [16:29:26] [debug] #0 000443f4 in public OnPlayerTakeDamage () from V11.amx [16:29:28] [COD]AnOnYmOuS(1): {FFFFFF}lol [16:29:29] [debug] Run time error 4: "Array index out of bounds" [16:29:29] [debug] Accessing element at index 20 past array upper bound 19 [16:29:29] [debug] AMX backtrace: [16:29:29] [debug] #0 00001228 in public dmgTdUpdate () from dmg.amx [16:29:31] [debug] Run time error 4: "Array index out of bounds" [16:29:31] [debug] Accessing element at index 150 past array upper bound 149 [16:29:31] [debug] AMX backtrace: [16:29:31] [debug] #0 000452a0 in public dmgTdUpdate () from V11.amx [16:29:45] [debug] Run time error 4: "Array index out of bounds" [16:29:45] [debug] Accessing element at index 20 past array upper bound 19 [16:29:45] [debug] AMX backtrace: [16:29:45] [debug] #0 00001228 in public dmgTdUpdate () from dmg.amx [16:29:50] [kill] Insulin killed [COD]AnOnYmOuS Sawn-off Shotgun [16:29:50] [debug] Run time error 4: "Array index out of bounds" [16:29:50] [debug] Accessing element at index 65535 past array upper bound 19 [16:29:50] [debug] AMX backtrace: [16:29:50] [debug] #0 000004ac in public OnPlayerTakeDamage () from dmg.amx [16:29:50] [debug] Run time error 4: "Array index out of bounds" [16:29:50] [debug] Accessing element at index 65535 past array upper bound 149 [16:29:50] [debug] AMX backtrace: [16:29:50] [debug] #0 000443f4 in public OnPlayerTakeDamage () from V11.amx [16:29:53] [debug] Run time error 4: "Array index out of bounds" [16:29:53] [debug] Accessing element at index 20 past array upper bound 19 [16:29:53] [debug] AMX backtrace: [16:29:53] [debug] #0 00001228 in public dmgTdUpdate () from dmg.amx [16:29:56] [debug] Run time error 4: "Array index out of bounds" [16:29:56] [debug] Accessing element at index 150 past array upper bound 149 [16:29:56] [debug] AMX backtrace: [16:29:56] [debug] #0 000452a0 in public dmgTdUpdate () from V11.amx [16:30:00] [debug] Run time error 4: "Array index out of bounds" [16:30:00] [debug] Accessing element at index 4 past array upper bound 3 [16:30:00] [debug] AMX backtrace: [16:30:00] [debug] #0 000cf8fc in public PingKick () from V11.amx [16:30:12] [debug] Run time error 4: "Array index out of bounds" [16:30:12] [debug] Accessing element at index 20 past array upper bound 19 [16:30:12] [debug] AMX backtrace: [16:30:12] [debug] #0 00001228 in public dmgTdUpdate () from dmg.amx [16:30:15] [debug] Run time error 4: "Array index out of bounds" [16:30:15] [debug] Accessing element at index 150 past array upper bound 149 [16:30:15] [debug] AMX backtrace: [16:30:15] [debug] #0 000452a0 in public dmgTdUpdate () from V11.amx [16:30:23] [kill] Insulin killed [COD]AnOnYmOuS M4 [16:30:23] [debug] Run time error 4: "Array index out of bounds" [16:30:23] [debug] Accessing element at index 65535 past array upper bound 19 [16:30:23] [debug] AMX backtrace: [16:30:23] [debug] #0 000004ac in public OnPlayerTakeDamage () from dmg.amx [16:30:23] [debug] Run time error 4: "Array index out of bounds" [16:30:23] [debug] Accessing element at index 65535 past array upper bound 149 [16:30:23] [debug] AMX backtrace: [16:30:23] [debug] #0 000443f4 in public OnPlayerTakeDamage () from V11.amx [16:30:25] [debug] Run time error 4: "Array index out of bounds" [16:30:25] [debug] Accessing element at index 20 past array upper bound 19 [16:30:25] [debug] AMX backtrace: [16:30:25] [debug] #0 00001228 in public dmgTdUpdate () from dmg.amx [16:30:28] [debug] Run time error 4: "Array index out of bounds" [16:30:28] [debug] Accessing element at index 150 past array upper bound 149 [16:30:28] [debug] AMX backtrace: [16:30:28] [debug] #0 000452a0 in public dmgTdUpdate () from V11.amx [16:30:32] [COD]AnOnYmOuS(1): {FFFFFF}crasssshhhhhhhh [16:30:34] [debug] Run time error 4: "Array index out of bounds" [16:30:34] [debug] Accessing element at index 51 past array upper bound 47 [16:30:34] [debug] AMX backtrace: [16:30:34] [debug] #0 00000644 in public OnPlayerTakeDamage () from dmg.amx [16:30:34] [debug] Run time error 4: "Array index out of bounds" [16:30:34] [debug] Accessing element at index 51 past array upper bound 47 [16:30:34] [debug] AMX backtrace: [16:30:34] [debug] #0 0004458c in public OnPlayerTakeDamage () from V11.amx [16:30:35] [debug] Run time error 4: "Array index out of bounds" [16:30:35] [debug] Accessing element at index 51 past array upper bound 47 [16:30:35] [debug] AMX backtrace: [16:30:35] [debug] #0 00000644 in public OnPlayerTakeDamage () from dmg.amx [16:30:35] [debug] Run time error 4: "Array index out of bounds" [16:30:35] [debug] Accessing element at index 51 past array upper bound 47 [16:30:35] [debug] AMX backtrace: [16:30:35] [debug] #0 0004458c in public OnPlayerTakeDamage () from V11.amx [16:30:37] [debug] Run time error 4: "Array index out of bounds" [16:30:37] [debug] Accessing element at index 51 past array upper bound 47 [16:30:37] [debug] AMX backtrace: [16:30:37] [debug] #0 00000644 in public OnPlayerTakeDamage () from dmg.amx [16:30:37] [debug] Run time error 4: "Array index out of bounds" [16:30:37] [debug] Accessing element at index 51 past array upper bound 47 [16:30:37] [debug] AMX backtrace: [16:30:37] [debug] #0 0004458c in public OnPlayerTakeDamage () from V11.amx [16:30:39] [debug] Run time error 4: "Array index out of bounds" [16:30:39] [debug] Accessing element at index 51 past array upper bound 47 [16:30:39] [debug] AMX backtrace: [16:30:39] [debug] #0 00000644 in public OnPlayerTakeDamage () from dmg.amx [16:30:39] [debug] Run time error 4: "Array index out of bounds" [16:30:39] [debug] Accessing element at index 51 past array upper bound 47 [16:30:39] [debug] AMX backtrace: [16:30:39] [debug] #0 0004458c in public OnPlayerTakeDamage () from V11.amx [16:30:41] [debug] Run time error 4: "Array index out of bounds" [16:30:41] [debug] Accessing element at index 51 past array upper bound 47 [16:30:41] [debug] AMX backtrace: [16:30:41] [debug] #0 00000644 in public OnPlayerTakeDamage () from dmg.amx [16:30:41] [debug] Run time error 4: "Array index out of bounds" [16:30:41] [debug] Accessing element at index 51 past array upper bound 47 [16:30:41] [debug] AMX backtrace: [16:30:41] [debug] #0 0004458c in public OnPlayerTakeDamage () from V11.amx [16:30:43] [debug] Run time error 4: "Array index out of bounds" [16:30:43] [debug] Accessing element at index 51 past array upper bound 47 [16:30:43] [debug] AMX backtrace: [16:30:43] [debug] #0 00000644 in public OnPlayerTakeDamage () from dmg.amx [16:30:43] [debug] Run time error 4: "Array index out of bounds" [16:30:43] [debug] Accessing element at index 51 past array upper bound 47 [16:30:43] [debug] AMX backtrace: [16:30:43] [debug] #0 0004458c in public OnPlayerTakeDamage () from V11.amx [16:30:45] [debug] Run time error 4: "Array index out of bounds" [16:30:45] [debug] Accessing element at index 51 past array upper bound 47 [16:30:45] [debug] AMX backtrace: [16:30:45] [debug] #0 00000644 in public OnPlayerTakeDamage () from dmg.amx [16:30:45] [debug] Run time error 4: "Array index out of bounds" [16:30:45] [debug] Accessing element at index 51 past array upper bound 47 [16:30:45] [debug] AMX backtrace: [16:30:45] [debug] #0 0004458c in public OnPlayerTakeDamage () from V11.amx [16:30:45] [debug] Server crashed while executing V11.amx [16:30:45] [debug] AMX backtrace: [16:30:45] [debug] #0 native GetPlayerPos () [0046f4d0] from samp-server.exe [16:30:45] [debug] #1 00042308 in public FC_OnPlayerDeath () from V11.amx [16:30:45] [debug] #2 native CallLocalFunction () [00471e90] from samp-server.exe [16:30:45] [debug] #3 0000dcec in public OnPlayerDeath () from V11.amx [16:30:45] [debug] System backtrace: [16:30:45] [debug] #0 6e7d39e2 in ?? () from G:\V11\plugins\crashdetect.DLL [16:30:45] [debug] #1 6e7d5e26 in ?? () from G:\V11\plugins\crashdetect.DLL [16:30:45] [debug] #2 6e7cbf3f in ?? () from G:\V11\plugins\crashdetect.DLL [16:30:45] [debug] #3 6e7d3a0e in ?? () from G:\V11\plugins\crashdetect.DLL [16:30:45] [debug] #4 0047219e in ?? () from G:\V11\samp-server.exe [16:30:45] [debug] #5 004010b6 in ?? () from G:\V11\samp-server.exe [16:30:45] [debug] #6 6e7d39e2 in ?? () from G:\V11\plugins\crashdetect.DLL [16:30:45] [debug] #7 6e7d5e26 in ?? () from G:\V11\plugins\crashdetect.DLL [16:30:45] [debug] #8 6e7cbf3f in ?? () from G:\V11\plugins\crashdetect.DLL [16:30:45] [debug] #9 6e7d3a0e in ?? () from G:\V11\plugins\crashdetect.DLL [16:30:45] [debug] #10 0046c9a6 in ?? () from G:\V11\samp-server.exe [16:30:45] [debug] #11 0047fb22 in ?? () from G:\V11\samp-server.exe [16:30:45] [debug] #12 6e7d39b2 in ?? () from G:\V11\plugins\crashdetect.DLL [16:30:45] [debug] #13 6e7d5d60 in ?? () from G:\V11\plugins\crashdetect.DLL [16:30:45] [debug] #14 6e7cbf3f in ?? () from G:\V11\plugins\crashdetect.DLL [16:30:45] [debug] #15 6e7d3a0e in ?? () from G:\V11\plugins\crashdetect.DLL [16:30:45] [debug] #16 0046db81 in ?? () from G:\V11\samp-server.exe [16:30:45] [debug] #17 0045400d in ?? () from G:\V11\samp-server.exe [16:30:45] [debug] #18 00455b8b in ?? () from G:\V11\samp-server.exe [16:30:45] [debug] #19 00481329 in ?? () from G:\V11\samp-server.exe [16:30:45] [debug] #20 004817a0 in ?? () from G:\V11\samp-server.exe [16:30:45] [debug] #21 7784dea3 in ?? () from C:\Windows\SysWOW64\ntdll.dll [16:30:45] [debug] #22 76cb14d1 in ?? () from C:\Windows\syswow64\kernel32.dll [16:30:45] [debug] #23 004a3fce in ?? () from G:\V11\samp-server.exe [16:30:45] [debug] #24 68106ac3 in ?? () from G:\V11\samp-server.exe [16:30:45] [debug] #25 004b2c88 in ?? () from G:\V11\samp-server.exe [16:30:45] [debug] #26 ffe2aae8 in ?? () [16:30:45] [debug] #27 00498ce9 in ?? () from G:\V11\samp-server.exe [16:30:45] [debug] #28 46736c46 in ?? () from G:\V11\samp-server.exe [16:30:45] [debug] #29 00656572 in ?? () [16:30:45] [debug] #30 53736c46 in ?? () from G:\V11\samp-server.exe |
pawn Code:
new msg[100];
new ammount = random(10500);
new amm = random(10500);
format(msg, sizeof(msg), "Good job killing %s you have earn +1 score and $%d cash!", PlayerName2(playerid),ammount);
SendClientMessage(killerid,yellow,msg);
GivePlayerMoney(killerid,ammount);
GivePlayerMoney(playerid,-amm);
format(msg, sizeof(msg), "You lost %d cash for dying.",amm);
SendClientMessage(playerid,RED,msg);
new weaponid = GetPlayerWeapon(killerid);
switch(weaponid)
{
case 2 .. 15: GivePlayerWeapon(killerid, GetPlayerWeapon(killerid), 1);
case 16 .. 18: GivePlayerWeapon(killerid, GetPlayerWeapon(killerid), 1);
case 22 .. 32: GivePlayerWeapon(killerid, GetPlayerWeapon(killerid), 60);
case 35 .. 46: GivePlayerWeapon(killerid, GetPlayerWeapon(killerid), 1);
}
SetPlayerScore(killerid, GetPlayerScore(killerid) +1);
Streak[playerid] = 0;
if(killerid != INVALID_PLAYER_ID)
{
new KillerName[MAX_PLAYER_NAME];
GetPlayerName(killerid, KillerName, sizeof(KillerName));
new text[128];
Streak[killerid] ++;
Skills[killerid] ++;
RoundInfo[killerid][Kills] ++;
if(Streak[killerid] == 5)
{
format(text, sizeof(text), "{FF7E19}%s {0087FF}HAS STARTED PWNING {FF7E19}( With 5 Kills)", PlayerName2(killerid));
GameTextForAll( "%s HAS STARTED PWNING, 5000, 4");
SendClientMessageToAll(grey, text);
GivePlayerScore(playerid, 5);
PlayAudioStreamForPlayer(playerid,"http://files.mboxdrive.com/100000536568802/impressive.wav");
}
if(Streak[killerid] == 10)
{
format(text, sizeof(text), "{FF7E19}%s {0087FF}IS ON KILLING SPREE {FF7E19}OF 10 Kills", PlayerName2(killerid));
GameTextForAll( "%s IS ON KILLING SPREE OF 10 Kills, 5000, 4" );
SendClientMessageToAll(grey, text);
GivePlayerScore(playerid, 7);
PlayAudioStreamForPlayer(playerid,"http://files.mboxdrive.com/100000536568802/dominating.wav");
}
if(Streak[killerid] == 15)
{
format(text, sizeof(text), "{FF7E19}%s {0087FF}HAS GONE WILD {FF7E19}(15 Kills)", PlayerName2(killerid));
GameTextForAll( "%s HAS GONE WILD {FF7E19}(15 Kills), 5000, 4" );
SendClientMessageToAll(grey, text);
GivePlayerScore(playerid, 10);
PlayAudioStreamForPlayer(playerid,"http://files.mboxdrive.com/100000536568802/holyshit.wav");
}
if(Streak[killerid] == 20)
{
format(text, sizeof(text), "{FF7E19}%s {0087FF}IS KILLING EVERYONE{FF7E19}( With 20 Kills)", PlayerName2(killerid));
GameTextForAll( "%s HAS GONE WILD {FF7E19}(15 Kills), 5000, 4");
SendClientMessageToAll(grey, text);
GivePlayerScore(playerid, 15);
PlayAudioStreamForPlayer(playerid,"http://files.mboxdrive.com/100000536568802/megakill.wav");
}
if(Streak[killerid] == 30)
{
format(text, sizeof(text), "{FF7E19}%s {0087FF}HOLY SHIT MAN {FF7E19}( With 30 Kills, NICE SKILLZ)", PlayerName2(killerid));
GameTextForAll( "%s HOLY SHIT MAN Nice Skills {FF7E19}(15 Kills), 5000, 4" );
SendClientMessageToAll(grey, text);
GivePlayerScore(playerid, 20);
PlayAudioStreamForPlayer(playerid,"http://files.mboxdrive.com/100000536568802/monsterkill.wav");
}
if(Streak[killerid] == 50)
{
format(text, sizeof(text), "{FF7E19}%s {0087FF}HAS FUCKED EVERYONE ON THE SERVER{FF7E19}( With 50 Kills)", PlayerName2(killerid));
GameTextForAll( "%s HAS FUCKED EVERYONE ON THE SERVER, 5000, 4" );
SendClientMessageToAll(grey, text);
GivePlayerScore(playerid, 25);
PlayAudioStreamForPlayer(playerid,"http://files.mboxdrive.com/100000536568802/ultrakill.wav");
}
if(Streak[killerid] == 75)
{
format(text, sizeof(text), "{FF7E19}%s {0087FF}IS THE KING OF SAMP{FF7E19}( With 50 Kills)", PlayerName2(killerid));
GameTextForAll( "%s IS THE KING OF SAMP( With 50 Kills), 5000, 4" );
SendClientMessageToAll(grey, text);
GivePlayerScore(playerid, 25);
PlayAudioStreamForPlayer(playerid,"http://files.mboxdrive.com/100000536568802/unstoppable.wav");
}
if(Streak[killerid] == 100)
{
format(text, sizeof(text), "{FF7E19}%s {0087FF}IS THE GOD OF KILLING{FF7E19}( With 100 Kills)", PlayerName2(killerid));
GameTextForAll( "%s IS THE GOD OF KILLING Freaking kill century, 5000, 4" );
SendClientMessageToAll(grey, text);
GivePlayerScore(playerid, 100);
PlayAudioStreamForPlayer(playerid,"http://files.mboxdrive.com/100000536568802/godlike.wav");
}
}
PlayerInfo[playerid][Deaths] ++;
PlayerInfo[killerid][Kills] ++;
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
new obj =CreateObject(2804, X, Y, Z, 0.0, 0.0, 0.0, 100.0);
SetTimerEx("destroyThisObject", 3000, 0, "i", obj);
#if defined ENABLE_SPEC
for(new x=0; x<MAX_PLAYERS; x++)
if(GetPlayerState(x) == PLAYER_STATE_SPECTATING && PlayerInfo[x][SpecID] == playerid)
AdvanceSpectate(x);
#endif
return 1;
}