- 0
Problema script
-
Similar Content
-
- 0 replies
- 172 views
-
- 3 replies
- 478 views
-
Problema turf
By Soryn.,
- 3 answers
- 255 views
-
- 1 reply
- 177 views
-
Problema
By ImJustSlim,
- 3 answers
- 286 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
teudan
Am incercat sa fac o comanda cu care liderul sa poata vedea toti membrii factiuni lui si nu mi-a iesit, imi puteti spune de ce?
[pawn]
if(strcmp(cmd, "/allmember", true) == 0)
{
if(PlayerInfo[playerid][pLeader] == 0) { return SendClientMessage(playerid, COLOR_LIGHTRED, "Tu nu esti lider !");}
new string2[64];
for(new i = 0; i < MAX_PLAYER_NAME; i++)
{
format(string2, sizeof(string2), "LARP/Users/%s.ini", i);
if(PlayerInfo[playerid][pLeader] == dini_Int(string2,"Member"))
{
format(string, 256, "Membrul: %d",string2);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
}
}
return 1;
}
[/pawn]
Link to comment
Share on other sites
3 answers to this question
Recommended Posts