cOBRa Posted December 16, 2015 Report Share Posted December 16, 2015 Salut, cum pot face zilele saptamani pentru o comanda asemanatoare acesteia http://imgur.com/AI52IDD . Comanda este facuta, dar azi fiind miercuri se puncteaza luni. Multumesc anticipat(fast) Quote Link to comment Share on other sites More sharing options...
Alberto. Posted December 16, 2015 Report Share Posted December 16, 2015 arata comanda si ce mai ai tu pe acolo legat de /activitate Quote Link to comment Share on other sites More sharing options...
cOBRa Posted December 17, 2015 Author Report Share Posted December 17, 2015 CMD:activitate(playerid, params[]) { new string[150]; format(string,sizeof(string),"Luni: %d PCT\nMarti: %d PCT\nMiercuri: %d PCT\nJoi: %d PCT\nVineri: %d PCT\nSambata: %d\nDuminica: %d PCT",PlayerInfo[playerid][pLuni],PlayerInfo[playerid][pMarti],PlayerInfo[playerid][pMiercuri],PlayerInfo[playerid][pJoi],PlayerInfo[playerid][pVineri],PlayerInfo[playerid][pSambata],PlayerInfo[playerid][pDuminica]); ShowPlayerDialog(playerid, DIALOG_ACTIVITATE, DIALOG_STYLE_MSGBOX, "Activitate x", string,"ok",""); return 1; } new year, month,day,mtext[20]; getdate(year, month, day); if(day == 1) { mtext = "Luni"; } else if(day == 2) { mtext = "Marti"; } else if(day == 3) { mtext = "Miercuri"; } else if(day == 4) { mtext = "Joi"; } else if(day == 5) { mtext = "Vineri"; } else if(day == 6) { mtext = "Sambata"; } else if(day == 7) { mtext = "Duminica"; } if(day) { PlayerInfo[playerid][pLuni] += 1; } else if(day) { PlayerInfo[playerid][pMarti] += 1; } else if(day) { PlayerInfo[playerid][pMiercuri] += 1; } else if(day) { PlayerInfo[playerid][pJoi] += 1; } else if(day) { PlayerInfo[playerid][pVineri] += 1; } else if(day) { PlayerInfo[playerid][pSambata] += 1; } else if(day) { PlayerInfo[playerid][pDuminica] += 1; } Quote Link to comment Share on other sites More sharing options...
Alberto. Posted December 18, 2015 Report Share Posted December 18, 2015 if(day == 1) { mtext = "Luni"; PlayerInfo[playerid][pLuni] ++; } else if(day == 2) { mtext = "Marti"; PlayerInfo[playerid][pMarti] ++; }si tot asa.. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.