Jump to content

Problema cu 2 comenzi !


sKeLeToNNNNN
 Share

Recommended Posts

Am inceput sa imi fac un gamemode adica sa editez la el , il stii foarte bine am rezolvat din buguri dar astea 2 nu stiu sa le rezolv daca stii te rog ajutama ! si joc si pe Bugged pe blue 


@[member=Alliance-Blaskowsk] ma ajuti te rog ? 

Edited by sKeLeToNNNNN
Link to comment
Share on other sites

1.Posteaza comanda [/stats], nu functia de ShowStats

 

2.

 

if(playerVariables[playerid][pGroupRank] >= 6)         {

 

Asta verifica daca jucatorul are rank mai mare sau egal cu 6, daca da, atunci poate folosi comanda. Comanda ta poate fi folosita doar de membrii cu rank mai mare sau egal cu 6, aici e problema.

Edited by Arthur
Link to comment
Share on other sites

1. nu am comanda la stats,  cand playeru scrie /stats ii se returneaza showStats , ( return showStats(playerid,playerid) ;)

2. la members e pusa conditia if(playerVariables[playerid][pGroupRank] >= 6)    |

Edited by sKeLeToNNNNN
Link to comment
Share on other sites

Aici in functia ShowStats

format(szMessage, sizeof(szMessage), "%s | Respect Points: %d/%d | Level: %d | Phone number: %s | Job: %s | ",playerVariables[targetid][pNormalName],playerVariables[targetid][pRPoints], expamount, playerVariables[targetid][pLevel],param20,param1, orejucate );

Tu ai 6 specificatori (%s %d) insa trimiti spre string 7, scapa de ultima variabila, orejucate

format(szMessage, sizeof(szMessage), "%s | Respect Points: %d/%d | Level: %d | Phone number: %s | Job: %s | ",playerVariables[targetid][pNormalName],playerVariables[targetid][pRPoints], expamount, playerVariables[targetid][pLevel],param20,param1);
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. 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.