scripting help
#1

I got this error then my server crashed down :/ what shall i do
Код:
[02:30:58]+ Crash caused by an unknown error in PlayCrimeReportForPlayer at address 0x8
[02:30:58]+ Stack trace of gamemodes/SPA.amx (most recent call first):
Under OnPlayerDisconnect:
Код:
public OnPlayerDisconnect(playerid, reason)
{
    ARDisconnect(playerid); //Add This on TOP of OnPlayerDisconnect.antibots
    SendDeathMessage(INVALID_PLAYER_ID, playerid, 201);
    KillTimer( PlayerInfo[playerid][SpawnTimer] );
    DMZone[playerid] = 0;
    TextDrawHideForPlayer(playerid, Textdraw0);
	TextDrawHideForPlayer(playerid, Textdraw1);
	TextDrawHideForPlayer(playerid, Textdraw2);
	TextDrawHideForPlayer(playerid, Textdraw3);
	TextDrawHideForPlayer(playerid, Textdraw4);
	TextDrawHideForPlayer(playerid, Textdraw5);
        PlayCrimeReportForPlayer(playerid, playerid, 3);
	new pName[MAX_PLAYER_NAME];
	GetPlayerName(playerid,pName,sizeof(pName));
    if(udb_Exists(pName))
    {
		dUserSetINT(pName).("InDm",0);
	}
	return 1;
}
Reply
#2

Remove this probably? :/
pawn Код:
PlayCrimeReportForPlayer(playerid, playerid, 3);
Reply
#3

Quote:
Originally Posted by BenzoAMG
Посмотреть сообщение
Remove this probably? :/
pawn Код:
PlayCrimeReportForPlayer(playerid, playerid, 3);
Ok thanks .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)