Jump to content

Question

Posted (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 by La Misto Te Iau Cum Vreau
Am rezolvat

8 answers to this question

Recommended Posts

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

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.