Jump to content
  • 0

Problema! Crashed server.


Ionut

Question

Salut, am reusit sa aflu cauza picari serverului "prematur", cand mi se opreste serverul imi da o eroare il log (crashdedect), e un plugins care te ajuta, adica iti arata din ce cauza ti s-a oprit serverul, eroarea mea este urmatoarea:

[21:11:35] Crash caused by an unknown error in SetPlayerColor at address 0x1f28c

[21:11:35] Stack trace of gamemodes/Real-RP.amx (most recent call first):

Daca stiti ce este gresit, va rog sa lasati un reply sau daca aveti nevoie de mai multe detali.

Multumesc,

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Asta e prima linie

SetPlayerColor(playerid,COLOR_GRAD2);
Asta a 2-a
SetPlayerColor(playerid,COLOR_GRAD2);
Aici sunt culorile de la factiunii
public SetPlayerToTeamColor(playerid)
{
	if(IsPlayerConnected(playerid))
	{
	    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
	    if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
        SetPlayerColor(playerid, COLOR__LSPD);
	    if (PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
        SetPlayerColor(playerid, COLOR__FBI);
        if (PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
        SetPlayerColor(playerid, COLOR__NG);
        if (PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
        SetPlayerColor(playerid, COLOR__FPMD);
        if (PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
        SetPlayerColor(playerid, COLOR_LST);
        if (PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
        SetPlayerColor(playerid, COLOR_TCC);
        if (PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)
        SetPlayerColor(playerid, COLOR_LSC);
        if (PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
        SetPlayerColor(playerid, COLOR_HIT);
        if (PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
        SetPlayerColor(playerid, COLOR_NR);
        if (PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
        SetPlayerColor(playerid, COLOR_TAXI);
        if (PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
        SetPlayerColor(playerid, COLOR_LSGANG);
        if (PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
        SetPlayerColor(playerid, COLOR_Mara);
        if (PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
        SetPlayerColor(playerid, COLOR_YKZ);
        if (PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
        SetPlayerColor(playerid, COLOR_CORLEONE);
	    if (PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
        SetPlayerColor(playerid, COLOR_TRIADS);
	}
}
Asta e a 3 -a dupa culorile factiunilor
SetPlayerColor(playerid, 0xFFB9DCFF);
Asta a 4 -a, ultima linie.
SetPlayerColor(playerid,TEAM_HIT_COLOR);

E ceva gresit? Eu nu pot sa imi dau seama :-??, daca e ceva gresit aici va rog sa imi spuneti. Multumesc.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.