#1

I have a problem here,when I write "/decline" to decline "/get" don't work,but,when I use to decline "/goto" work,but get no..what is the problem?

Код HTML:
CMD:decline(playerid)
{
	new Str[2500];
	new RoError[100] = "{FF0000}ERROR: {FFFFFF}Nu ai ce respinge!"; new EnError[100] = "{FF0000}ERROR: {FFFFFF}You don't have what to decline!";
	//--------------------------------------------------------------------------
	if(CosminInfo[playerid][Invite][1] == 0 || CosminInfo[playerid][Invite][1] == 0) return SendClientMessage(playerid, COLOR_ULTRARED, (CosminInfo[playerid][Language] == 1) ? RoError : EnError);
    else if(CosminInfo[playerid][Invite][2] == 0 || CosminInfo[playerid][Invite][2] == 0) return SendClientMessage(playerid, COLOR_ULTRARED, (CosminInfo[playerid][Language] == 1) ? RoError : EnError);
	//--------------------------------------------------------------------------
    if(CosminInfo[playerid][Invite][1] == 1) format(Str, 100, "%s has dennied your invite!",  PlayerName(playerid)), SendClientMessage(CosminInfo[playerid][Inviter][1], COLOR_YELLOW, Str),  CosminInfo[playerid][Inviter][1] = -1, CosminInfo[playerid][Invite][1] = 0, GameTextForPlayer(playerid, "~w~~h~Invite ~r~~h~Declined", 4000, 4);
    else if(CosminInfo[playerid][Invite][2] == 1) format(Str, 100, "%s has dennied your invite!", PlayerName(playerid)), SendClientMessage(CosminInfo[playerid][Inviter][2], COLOR_YELLOW, Str), CosminInfo[playerid][Inviter][2] = -1, CosminInfo[playerid][Invite][2] = 0, GameTextForPlayer(playerid, "~w~~h~Invite ~r~~h~Declined", 4000, 4);
	//--------------------------------------------------------------------------
	return 1;
}
Reply


Messages In This Thread
Help - by SeeNN - 13.12.2018, 02:10
Re: Help - by andrejc999 - 13.12.2018, 08:07
Re: Help - by SeeNN - 13.12.2018, 23:38

Forum Jump:


Users browsing this thread: 1 Guest(s)