Köszi a segítséget végül a kód így néz ki:
CMD:ahelp(playerid, params[]) {
new name[MAX_PLAYER_NAME];
new tex[128];
new i = 0;
new form[200];
GetPlayerName(playerid,name,sizeof(name));
if(sscanf(params, \"s[128]\", tex)) return SendClientMessage(playerid, -1, \"Használat: /ahelp <szöveg>\");
for(new i = 0; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i) && pinfo[playerid][admin] >= 3 || IsPlayerAdmin(i)) format( form, sizeof(form), \"[AdminHelp]<%s>: %s\", name, tex); SendClientMessage(i, zold, form);
return 1;
}