Jump to content

Problema days


rfx

Recommended Posts

Am gmul lui s4urik final, iar mereu cand aplica cineva la o factiune si liderul il accepta acesta are 1755 days. Am gasit  if(dialogid == DIALOG_APLICATIE)
    {
        new checkmysql[1200];
        if(response)
        {
            if(GetFactionMembers(PlayerInfo[playerid][pLeader]) >= DynamicFactions[PlayerInfo[playerid][pLeader]][fMaxMembers]) return SCM(playerid, COLOR_ERROR, "Nu mai sunt sloturi disponibile...");
            for(new i; i < MAX_PLAYERS; i++)
            {
                if(PlayerInfo[pSQLID] == appfactiune[playerid])
                   {
                    PlayerInfo[pMember] = PlayerInfo[playerid][pLeader];
                    PlayerInfo[pRank] = 1;
                    SpawnPlayer(i);
                   }

As vrea sa adaug acolo la playerinfo[pRank] = 1; sub el un playerinfp[pRank] dar nu merge si nu stiu cum sa ii setez zilele cand intra in factiune. Ajutor!

Link to comment
Share on other sites

Am inteles ca te-ai ajutat singur la nenumaratele topicuri făcute pe sa-mp.ro,iar noi nu îți suntem de folos. Citez "La cate topicuri am facut pe "sa-mp.ro si pe xyz nu am fost ajutat de nimeni,am rezolvat problemele singur." .Bine,atunci rezolva si această problema la fel cum ai facut si cu celelalte. 

Nu inteleg de ce te-am ajuta acum?

Edited by Score_
Link to comment
Share on other sites

Just now, Score_ said:

Am inteles ca te-ai ajutat singur la nenumaratele topicuri făcute pe sa-mp.ro,iar noi nu îți suntem de folos. Citez "La cate topicuri am facut pe "sa-mp.ro si pe xyz nu am fost ajutat de nimeni,am rezolvat problemele singur." .Bine,atunci rezolva si această problema la fel cum ai facut si cu celelalte. 

Nu inteleg de cente-am ajuta acum?

Nu vrei nu ajuta

Link to comment
Share on other sites

Acum 17 ore, rfx a spus:

Am gmul lui s4urik final, iar mereu cand aplica cineva la o factiune si liderul il accepta acesta are 1755 days. Am gasit  if(dialogid == DIALOG_APLICATIE)
    {
        new checkmysql[1200];
        if(response)
        {
            if(GetFactionMembers(PlayerInfo[playerid][pLeader]) >= DynamicFactions[PlayerInfo[playerid][pLeader]][fMaxMembers]) return SCM(playerid, COLOR_ERROR, "Nu mai sunt sloturi disponibile...");
            for(new i; i < MAX_PLAYERS; i++)
            {
                if(PlayerInfo[pSQLID] == appfactiune[playerid])
                   {
                    PlayerInfo[pMember] = PlayerInfo[playerid][pLeader];
                    PlayerInfo[pRank] = 1;
                    SpawnPlayer(i);
                   }

As vrea sa adaug acolo la playerinfo[pRank] = 1; sub el un playerinfp[pRank] dar nu merge si nu stiu cum sa ii setez zilele cand intra in factiune. Ajutor!

PlayerInfo[playerid][pDays]=0; sau in loc de pDays pui variabila aferenta pt zilele petrecutw in factiune

Btw fa si update in baza de date

Edited by valivaly96
Link to comment
Share on other sites

adauga sub PlayerInfo[pRank] = 1; 

chestiuta asta ->

-> PlayerInfo[pFactionJoin] = 0;

                     

  Serverul meu de Discord: Click aici       a7DfKP7.gif                                                                      FGIfknL.gif

k35T5Nb.png                                                                                                                                                                                                                                                                                                I0aS856.gif

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.