Jump to content
  • 0

Question

Posted

Salutare , am un "bug" cred...pe server pentru ca mereu cand intru pe sv am ignore pm , get , spec etc...activate :| si eu am la OnPlayerDisconnect si la OnPlayerConnect acelea de la ignore setate la 0...

AccInfo[playerid][IgnPM]   		= 0;
AccInfo[playerid][IgnGet]  		= 0;
AccInfo[playerid][IgnSpec]	 		= 0;
AccInfo[playerid][IgnGoto] 		= 0;
Aceasta este cu Ignore....iar la chat problema este ca mereu cand scriu nu apare in continuare tot...adica merge doar pana pe la sfertu ecranului si dupa incepe scrisu de la inceput...uitati http://postimg.org/image/t44ux59k7/
SetPlayerChatBubble(playerid, text, 0xFF9900AA, 200.0, 10000);
	if(AccInfo[playerid][Level] > 0 && AccInfo[playerid][Hide] == 1)
	{
		format(PText, 128, "{15FF00}(%d):{FFFFFF} %s",playerid, text);
		SendPlayerMessageToAll(playerid, PText);
		return 0;
    }
    else if(AccInfo[playerid][Level] > 10 && AccInfo[playerid][Hide] == 0)
	{
		format(PText, 128, "{FF0000}({FFFFFF}RCON{FF0000}){15FF00}(%d):{FFFFFF} %s", playerid, text);
		SendPlayerMessageToAll(playerid, PText);
		return 0;
	}
	else if(AccInfo[playerid][Level] > 0 && AccInfo[playerid][Hide] == 0)
	{
		format(PText, 128, "{0000FF}(Admin){15FF00}(%d):{FFFFFF} %s", playerid, text);
		SendPlayerMessageToAll(playerid, PText);
		return 0;
	}
	else if(AccInfo[playerid][pVip] > 0)
	{
		format(PText, 128, "{FF0000}(VIP){15FF00}(%d):{FFFFFF} %s", playerid, text);
		SendPlayerMessageToAll(playerid, PText);
        return 0;
	}
	else if(AccInfo[playerid][Level] < 1 && AccInfo[playerid][pVip] < 1)
	{
		format(PText, 128, "{15FF00}(%d):{FFFFFF} %s", playerid, text);
		SendPlayerMessageToAll(playerid, PText);
		return 0;
	}
	return 1;
}

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

2 answers to this question

Recommended Posts

Posted

la fel....

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.