La Misto Te Iau Cum Vreau Posted September 29, 2023 Report Share Posted September 29, 2023 (edited) Comanda: if (strcmp("/aduty", cmdtext, true, 10) == 0) { if(PlayerInfo[playerid][pAdmin] >= 1) { GiveAllOnlinePlayers(Admin); GiveAllOfflinePlayers(Admin); { { return 1; } (vreau ca comanda să deie admin tuturor, celor offline, și celor online) Vă rog frumos să mă ajutați, dacă doar vreți sa faceti mișto, mai bine nu scrie-ți nimic. Edited September 30, 2023 by La Misto Te Iau Cum Vreau Am rezolvat Quote Link to comment Share on other sites More sharing options...
0 Sancky Posted September 29, 2023 Report Share Posted September 29, 2023 for(new i = 0; i < MAX_PLAYERS; ++i) Kick(i); cv de genul, online offline 1 Quote Link to comment Share on other sites More sharing options...
0 La Misto Te Iau Cum Vreau Posted September 30, 2023 Author Report Share Posted September 30, 2023 17 hours ago, Sancky said: for(new i = 0; i < MAX_PLAYERS; ++i) Kick(i); cv de genul, online offline if (strcmp("/aduty", cmdtext, true, 10) == 0) { if(PlayerInfo[playerid][pAdmin] >= 1) { for(new i = 0; i < MAX_PLAYERS; ++i) Admin(i); { { return 1; } Asa? Quote Link to comment Share on other sites More sharing options...
0 Sancky Posted September 30, 2023 Report Share Posted September 30, 2023 6 minutes ago, La Misto Te Iau Cum Vreau said: if (strcmp("/aduty", cmdtext, true, 10) == 0) { if(PlayerInfo[playerid][pAdmin] >= 1) { for(new i = 0; i < MAX_PLAYERS; ++i) Admin(i); { { return 1; } Asa? si implementarea unde i Quote Link to comment Share on other sites More sharing options...
0 La Misto Te Iau Cum Vreau Posted September 30, 2023 Author Report Share Posted September 30, 2023 34 minutes ago, Sancky said: si implementarea unde i Adică? Frt eu sunt începător de unde sa știu ce inseamna Quote Link to comment Share on other sites More sharing options...
0 DFR Posted September 30, 2023 Report Share Posted September 30, 2023 https://www.geeksforgeeks.org/cpp-programming-basics/ Incepe cu ce am dat pe linkul de mai sus, mai cauta si pe net una alta despre bazele programarii daca nu intelegi prea bine de acolo, iar apoi aflii singur daca mai ai nevoie de un raspuns de aici. Quote Link to comment Share on other sites More sharing options...
0 La Misto Te Iau Cum Vreau Posted September 30, 2023 Author Report Share Posted September 30, 2023 3 hours ago, DFR said: https://www.geeksforgeeks.org/cpp-programming-basics/ Incepe cu ce am dat pe linkul de mai sus, mai cauta si pe net una alta despre bazele programarii daca nu intelegi prea bine de acolo, iar apoi aflii singur daca mai ai nevoie de un raspuns de aici. Nu înțeleg nimic frate, ma poți ajuta te rog frumosf Quote Link to comment Share on other sites More sharing options...
0 La Misto Te Iau Cum Vreau Posted September 30, 2023 Author Report Share Posted September 30, 2023 Gata am rezolvat, nu era chiar asa de greu sa fac comanda, dar acum mi-am dat seama, mersi totuși că ați încercat să mă ajutați! Quote Link to comment Share on other sites More sharing options...
0 La Misto Te Iau Cum Vreau Posted September 30, 2023 Author Report Share Posted September 30, 2023 Cer T/C Quote Link to comment Share on other sites More sharing options...
Question
La Misto Te Iau Cum Vreau
Comanda:
if (strcmp("/aduty", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
GiveAllOnlinePlayers(Admin);
GiveAllOfflinePlayers(Admin);
{
{
return 1;
}
(vreau ca comanda să deie admin tuturor, celor offline, și celor online)
Vă rog frumos să mă ajutați, dacă doar vreți sa faceti mișto, mai bine nu scrie-ți nimic.
Edited by La Misto Te Iau Cum VreauAm rezolvat
Link to comment
Share on other sites
8 answers to this question
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.