peRRy Posted February 19, 2012 Posted February 19, 2012 Cum pot face la aceasta chestie sa merga numai pt id 0 ci pentru toti membrii factiunii [pawn] for(new i = 0; i < MAX_PLAYERS; i++) {[/pawn]
xxSPEEDYxx Posted February 19, 2012 Posted February 19, 2012 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!
peRRy Posted February 19, 2012 Author Posted February 19, 2012 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
Question
peRRy
Cum pot face la aceasta chestie sa merga numai pt id 0 ci pentru toti membrii factiunii
[pawn] for(new i = 0; i < MAX_PLAYERS; i++)
{[/pawn]
3 answers to this question
Recommended Posts