Jump to content
  • 0

Inca o problema


Question

Posted

Cum pot face la aceasta chestie sa merga numai pt id 0 ci pentru toti membrii factiunii :D

[pawn]  for(new i = 0; i < MAX_PLAYERS; i++)

  {[/pawn]

3 answers to this question

Recommended Posts

Posted

Eu nu am inteles din ce vrei tu sa faci.

Exemplu (ce am inteles):

for ( new i = 0; i < MAX_PLAYERS; i++ )
{
    if ( IsPlayerConnected( i ) )
    {
        if ( VariabilaFactiune[ playerid ] == 1 )
        {
             //Other codes ...
         }
      }
}

Fara reclama in semnatura!

Posted

Deci sa zicem ca am o comanda si o folosesc da ? Sa zicem ca e comanda /salary [suma]

Cand dau /salary 100$ primeste doar membrul din factiune care are id 0

Guest
This topic is now closed to further replies.
×
×
  • 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.