22.03.2011, 15:46
Well, this code does not work properly. Here is the code
pawn Код:
if (strcmp(cmd, "/gangs", true) ==0 )
{
for(new count = 20;count<MAX_GANGS;count++)
{
new str5[128];
if(Gang[count][Ident_ID])
{
format( str5, sizeof(str5), "%s", Gang[count][Ident_ID]);
SendClientMessage(playerid, COLOR_RED, "Available Gangs:");
SendClientMessage(playerid, COLOR_RED, str5);
count++;
}
}
return 1;
}