SA-MP Forums Archive
[PEDIDO] Comando /infoorg - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [PEDIDO] Comando /infoorg (/showthread.php?tid=346486)



[PEDIDO] Comando /infoorg - Chis - 28.05.2012

To tentando criar o /infoorg mais nгo to conseguindo pegar a logica pra poder criar. esse aqui й o comando que eu criei pra poder darlider
pawn Код:
new file[128];
    format(file,128,"/arquivo/orgs/%s.ini",OrgsNamesSmall[org]);
    if(DOF2_FileExists(file)) return SendClientMessage(playerid, COR_RED, "* ERRO: Esta organizaзгo jб possui um lнder");
    DOF2_CreateFile(file);
    DOF2_SetString(file,"Lнder",Player[id][pNome]);
    DOF2_SaveFile();
Alguem poderia criar um simples infoorg sу de exemplo

Policia Militar %s
Policia Federal %s