Jump to content
  • 0

Edit: AM REZOLVAT


La Misto Te Iau Cum Vreau

Question

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 Vreau
Am rezolvat
Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0
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? 

Link to comment
Share on other sites

  • 0
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

Link to comment
Share on other sites

  • 0
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

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
Answer this question...

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