Jump to content

Question

Posted

Ce sa-i fac acestei comenzi sa arate ficare membri dintr-un gang ex: Gangul 1 membri gangului , gangul 2 la fel sa nu ii arte pe tooti acolo :.  :|

[pawn]CMD:gm( playerid , params[ ] )

{

new

    string [ 1024 ], // O variabila pentru diferite mesaje

    Rang [ ] = "Lider", // Rangul jucatorului

    factiune = Factiune [ playerid ] [ pLider ] // Variabila care va tine numarul factiunii ( factiunea la care e lider jucatorul )

;

foreach(Player, i)

{

if( Factiune [ playerid ] [ pLider ] >= 1 || Factiune [ playerid ] [ pMembru ] >= 1 || Factiune [ playerid ] [ pLider ] >= 2 || Factiune [ playerid ] [ pMembru ] >= 2 || Factiune [ playerid ] [ pLider ] >= 3 || Factiune [ playerid ] [ pMembru ] >= 3 )

{

format( string, 1024, "%s\n{33FF33}%s{FFFFFF}[{33FF33}Rank:{FFFFFF}%s{FFFFFF}]", string, NumeJucator ( playerid ), Rang);

}

}

ShowPlayerDialog( playerid, DIALOG_VCMDS, DIALOG_STYLE_MSGBOX, "{FFFFFF}Gang Members", string, "Exit", "" );

return 1;

}[/pawn]

2 answers to this question

Recommended Posts

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.