22.06.2011, 22:39
pawn Код:
command(helpers, playerid, params[])
{
#pragma unused params
if(Player[playerid][Helper] >= 1)
{
new string[256]; // This might need to be increased.
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(Player[i][Helper] >= 1)
{
format(string, sizeof(string), "%s\n{37DB45}HELPER: {FFFFFF}%s", string, GetName(i));
}
}
ShowPlayerDialog(playerid, 0, 9315, "Online helpers:", string, "Done", "");
}
return 1;
}