Jump to content
  • 0

Problema comanda /help


Sammich

Question

Problema intalnita (descriere): Cand dau /help si pe urma dau la faction pentru a vedea ce comenzi am la factiune,imi zice ca nu sunt intr-o factiune
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul(obligatoriu):

case 5: //Factions
{
if (P_DATA[playerid][pMember] < 1 || P_DATA[playerid][pLeader] < 1) return SCM (playerid, -1, "Nu faci parte dintr-o factiune");
if (P_DATA[playerid][pMember] == 1 || P_DATA[playerid][pLeader] == 1 || P_DATA[playerid][pMember] == 2 || P_DATA[playerid][pLeader] == 2 || P_DATA[playerid][pMember] == 3 || P_DATA[playerid][pLeader] == 3 )
{
SCM(playerid, -1, "========================================================");
SCM(playerid, -1, "(/r)adio, (/d)epartments, (/m)egaphone, (/su)spect, /mdc, /arrest");
SCM(playerid, -1, "/duty, /wanted, /tazer, /jaillist, /clear, /armour /frisk");
SCM(playerid, -1, "/take, /ticket, (/gov)ernment, /cuff, /uncuff, /mutadetinut");
SCM(playerid, -1, "/radar, /vestiar, /openlspddoor, /openlspdgate, /openlspdbarrier");
SCM(playerid, -1, "/creeazablocaj, /distrugeblocaj, /aratainsigna, /urca, /coboara");
SCM(playerid, -1, "/cheamalift, /showmembers, /alchooltest, /verificacentura");
SCM(playerid, -1, "========================================================");
}
else if(IsAMember(playerid))
{
SCM(playerid, -1, "===================================================================");
SCM(playerid, -1, "(/f)amily, /takeguns, /tie, /untie, /healhq, /seif, /war, /topgangs, /showmembers (/sm)");
SCM(playerid, -1, "===================================================================");
}
else if (P_DATA[playerid][pMember] == 4 || P_DATA[playerid][pLeader] == 4)
{
SCM(playerid, -1, "======================================================================");
SCM(playerid, -1, "/instinctor, (/r)adio, (/d)epartments, /heal, /duty, /showmembers (/sm), /rfc");
SCM(playerid, -1, "======================================================================");
}
else if(P_DATA[playerid][pMember] == 7 || P_DATA[playerid][pLeader] == 7)
{
SCM(playerid, -1, "=======================");
SCM(playerid, -1, "(/f)amily, /portable, /rfc");
SCM(playerid, -1, "=======================");
}
else if(P_DATA[playerid][pMember] == 8 || P_DATA[playerid][pLeader] == 8)
{
SCM(playerid, -1, "===================================================");
SCM(playerid, -1, "/news, /live, /rfc, /paper, /papers, /live, /news [text]");
SCM(playerid, -1, "===================================================");
}
else if(P_DATA[playerid][pMember] == 9 || P_DATA[playerid][pLeader] == 9)
{
SCM(playerid, -1, "========");
SCM(playerid, -1, "/transport");
SCM(playerid, -1, "========");
}
else if(P_DATA[playerid][pMember] == 6 || P_DATA[playerid][pLeader] == 6 )
{
SCM(playerid, -1, "====");
SCM(playerid, -1, "/fare");
SCM(playerid, -1, "====");
}
}
Imagini / Video (optional): - http://imgur.com/YBnSax1 - http://imgur.com/7VWpdH0

 

Ati incercat sa rezolvati singur?:Da

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
case 5: //Factions
{
if (P_DATA[playerid][pMember] < 1 || P_DATA[playerid][pLeader] < 1) return SCM (playerid, -1, "Nu faci parte dintr-o factiune");
if (P_DATA[playerid][pMember] > 1 || P_DATA[playerid][pLeader] > 1)
{
SCM(playerid, -1, "========================================================");
SCM(playerid, -1, "(/r)adio, (/d)epartments, (/m)egaphone, (/su)spect, /mdc, /arrest");
SCM(playerid, -1, "/duty, /wanted, /tazer, /jaillist, /clear, /armour /frisk");
SCM(playerid, -1, "/take, /ticket, (/gov)ernment, /cuff, /uncuff, /mutadetinut");
SCM(playerid, -1, "/radar, /vestiar, /openlspddoor, /openlspdgate, /openlspdbarrier");
SCM(playerid, -1, "/creeazablocaj, /distrugeblocaj, /aratainsigna, /urca, /coboara");
SCM(playerid, -1, "/cheamalift, /showmembers, /alchooltest, /verificacentura");
SCM(playerid, -1, "========================================================");
}
else if(IsAMember(playerid))
{
SCM(playerid, -1, "===================================================================");
SCM(playerid, -1, "(/f)amily, /takeguns, /tie, /untie, /healhq, /seif, /war, /topgangs, /showmembers (/sm)");
SCM(playerid, -1, "===================================================================");
}
else if (P_DATA[playerid][pMember] == 4 || P_DATA[playerid][pLeader] == 4)
{
SCM(playerid, -1, "======================================================================");
SCM(playerid, -1, "/instinctor, (/r)adio, (/d)epartments, /heal, /duty, /showmembers (/sm), /rfc");
SCM(playerid, -1, "======================================================================");
}
else if(P_DATA[playerid][pMember] == 7 || P_DATA[playerid][pLeader] == 7)
{
SCM(playerid, -1, "=======================");
SCM(playerid, -1, "(/f)amily, /portable, /rfc");
SCM(playerid, -1, "=======================");
}
else if(P_DATA[playerid][pMember] == 8 || P_DATA[playerid][pLeader] == 8)
{
SCM(playerid, -1, "===================================================");
SCM(playerid, -1, "/news, /live, /rfc, /paper, /papers, /live, /news [text]");
SCM(playerid, -1, "===================================================");
}
else if(P_DATA[playerid][pMember] == 9 || P_DATA[playerid][pLeader] == 9)
{
SCM(playerid, -1, "========");
SCM(playerid, -1, "/transport");
SCM(playerid, -1, "========");
}
else if(P_DATA[playerid][pMember] == 6 || P_DATA[playerid][pLeader] == 6 )
{
SCM(playerid, -1, "====");
SCM(playerid, -1, "/fare");
SCM(playerid, -1, "====");
}
}
qua8n0lrq5wl5v5xccbk.png
 
mf79y6bvavi9sp2qqfoi.png
Contact: Mail: [email protected]
Y!M: r3mus.onlypro
Skype: r3mus.onlypro
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.