Jump to content
  • 0

Comanda Inexistenta


Horatiu

Question

Problema intalnita (descriere): Nu pot folosi comanda /factionhelp imi apare ca e comanda inexistenta si la /help imi apare ca o am accea comanda, am gasit si in pawno factionhelp dar nu apare sa accesez /factionhelp
Ero(area / rile) / warning-(ul / urile): -
Liniile de cod / sursa / script-ul: 

}
CMD:factionhelp(playerid, params[])
{
	if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first.");
	if(IsPlayerConnected(playerid))
 	{
  		if(PlayerInfo[playerid][pMember] != 0)
    	{
     		if(PlayerInfo[playerid][pMember] == 1)
            {
		        SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /mdc /su /arrest /sellaccept /acceptpoints");
		        SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /opencell /opengate /m(egaphone) /tazer /cuff /untie");
		        SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /uncuff /frisk /clear /d(epartments) /r(adio) /wanted");
		        SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /ticket /duty /backup /ram /confiscate /takedrugs /startradar /stopradar");
	    	}
	    	else if(PlayerInfo[playerid][pMember] == 2)
		    {
		        SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /mdc /su /arrest /sellaccept /acceptpoints");
		        SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /opencell /opengate /m(egaphone) /tazer /cuff /untie");
		        SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /uncuff /frisk /clear /d(epartments) /r(adio) /wanted");
		        SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /ticket /duty /backup /ram /confiscate /takedrugs");
		    }
	    	else if(PlayerInfo[playerid][pMember] == 3)
		    {
		        SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /mdc /su /arrest /sellaccept /acceptpoints");
		        SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /opencell /opengate /m(egaphone) /tazer /cuff /untie");
		        SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /uncuff /frisk /clear /d(epartments) /r(adio) /wanted");
		        SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /ticket /duty /backup /ram /confiscate /takedrugs /undercover");
		    }
     		else if(PlayerInfo[playerid][pMember] == 4)
	    	{
		        SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /cabinet /attack /wartime /turftimer /f /fdrugs /fmats /fdeposit /tie /untie /geat");
	    	}
    		else if(PlayerInfo[playerid][pJob] == 5)
	    	{
		        SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /cabinet /attack /wartime /turftimer /f /fdrugs /fmats /fdeposit /tie /untie /geat");
		    }
		    else if(PlayerInfo[playerid][pMember] == 6)
     		{
	    	    SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /order /attack /wartime /turftimer /f /fdrugs /fmats /fdeposit /tie /untie /geat");
	    	}
	    	else if(PlayerInfo[playerid][pMember] == 7)
		    {
        		SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /checkcharity");
    		}
    		else if(PlayerInfo[playerid][pMember] == 8)
		    {
        		SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /tow /towpoints");
    		}
    		else if(PlayerInfo[playerid][pMember] == 9)
	    	{
	        	SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /news /live /deliver /read /papers /paper");
	    	}
	    	else if(PlayerInfo[playerid][pMember] == 10)
	    	{
	        	SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /order /attack /wartime /turftimer /f /fdrugs /fmats /fdeposit /tie /untie /geat");
            }
            else if(PlayerInfo[playerid][pMember] == 11)
	    	{
	        	SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /portable");
            }
            else if(PlayerInfo[playerid][pMember] == 12)
	    	{
	        	SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /givelicense /startlesson /stoplesson /acceptlic /closelic /clicense /license");
            }
            else if(PlayerInfo[playerid][pMember] == 13)
	    	{
	        	SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /accept taxi /fare");
            }
            else if(PlayerInfo[playerid][pMember] == 14)
	    	{
	        	SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /healto /jobduty /d /r");
            }
        }
        else
        {
     	    SendClientMessage(playerid,COLOR_WHITE,"{FFB870}You are not a member.");
     	    return 1;
        }
	}
	return 1;

Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: NU

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
  • 0

CMD:factionhelp(playerid, params[])
{
    if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first.");
    if(IsPlayerConnected(playerid))
    {
        if(PlayerInfo[playerid][pMember] != 0)
    {
        if(PlayerInfo[playerid][pMember] == 1)
{
         SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /mdc /su /arrest /sellaccept /acceptpoints");
         SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /opencell /opengate /m(egaphone) /tazer /cuff /untie");
         SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /uncuff /frisk /clear /d(epartments) /r(adio) /wanted");
         SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /ticket /duty /backup /ram /confiscate /takedrugs /startradar /stopradar");
         }
         else if(PlayerInfo[playerid][pMember] == 2)
         {
         SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /mdc /su /arrest /sellaccept /acceptpoints");
         SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /opencell /opengate /m(egaphone) /tazer /cuff /untie");
         SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /uncuff /frisk /clear /d(epartments) /r(adio) /wanted");
         SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /ticket /duty /backup /ram /confiscate /takedrugs");
         }
         else if(PlayerInfo[playerid][pMember] == 3)
         {
         SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /mdc /su /arrest /sellaccept /acceptpoints");
         SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /opencell /opengate /m(egaphone) /tazer /cuff /untie");
         SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /uncuff /frisk /clear /d(epartments) /r(adio) /wanted");
         SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /ticket /duty /backup /ram /confiscate /takedrugs /undercover");
         }
        else if(PlayerInfo[playerid][pMember] == 4)
         {
         SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /cabinet /attack /wartime /turftimer /f /fdrugs /fmats /fdeposit /tie /untie /geat");
         }
        else if(PlayerInfo[playerid][pJob] == 5)
         {
         SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /cabinet /attack /wartime /turftimer /f /fdrugs /fmats /fdeposit /tie /untie /geat");
         }
         else if(PlayerInfo[playerid][pMember] == 6)
        {
          SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /order /attack /wartime /turftimer /f /fdrugs /fmats /fdeposit /tie /untie /geat");
         }
         else if(PlayerInfo[playerid][pMember] == 7)
         {
        SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /checkcharity");
        }
        else if(PlayerInfo[playerid][pMember] == 8)
         {
        SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /tow /towpoints");
        }
        else if(PlayerInfo[playerid][pMember] == 9)
         {
         SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /news /live /deliver /read /papers /paper");
         }
         else if(PlayerInfo[playerid][pMember] == 10)
         {
         SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /order /attack /wartime /turftimer /f /fdrugs /fmats /fdeposit /tie /untie /geat");
}
else if(PlayerInfo[playerid][pMember] == 11)
         {
         SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /portable");
}
else if(PlayerInfo[playerid][pMember] == 12)
         {
         SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /givelicense /startlesson /stoplesson /acceptlic /closelic /clicense /license");
}
else if(PlayerInfo[playerid][pMember] == 13)
         {
         SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /accept taxi /fare");
}
else if(PlayerInfo[playerid][pMember] == 14)
         {
         SendClientMessage(playerid,COLOR_WHITE,"{3385FF}Faction: /healto /jobduty /d /r");
}
}
else
{
     SendClientMessage(playerid,COLOR_WHITE,"{FFB870}You are not a member.");
     return 1;
}
    }
    return 1;
}

Era pusa paranteza sus,in fine,incearca acum.

 

 

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.