[duv]Criar cfg
#8

Quote:
Originally Posted by NathanLive
nao sub zero isoo eu sei eu to falando pra enviar a mensagem soh pra org q eu escolher sakas? abraзos.
Assim:
pawn Код:
if(text[0] == '#' && SE_O_PLAYER_TEM_ORG)
    {
    for(new i=0;i<MAX_PLAYERS;i++) {
      if(ORG_DO_PLAYER) {
        new strp[128],nomm[MAX_PLAYER_NAME];
        GetPlayerName(playerid,nomm,sizeof(nomm));
        format(strp,sizeof(strp),"[ORG] %s (ID:%i): %s",nomm,playerid,text[1]);
        SendClientMessage(i,laranja,strp);}}
    return 0;
}
No ORG_DO_PLAYER tenta assim:
if(PlayerOrg[*i]==PlayerOrg[playerid]) ou algo do tipo (Sem *)

Exemplo: Se digitar # Oi
Ele manda para Org:

[Org] MeuNome (ID:24): Oi
Reply


Messages In This Thread
[duv]Criar cfg - by NathanLive - 14.05.2010, 01:09
Re: [duv]2 dъvidas - by ipsBruno - 14.05.2010, 01:15
Re: [duv]2 dъvidas - by NathanLive - 14.05.2010, 17:29
Re: [duv]2 dъvidas - by SuB_ZeRo0_ - 14.05.2010, 17:32
Re: [duv]2 dъvidas - by NathanLive - 14.05.2010, 18:19
Re: [duv]2 dъvidas - by SuB_ZeRo0_ - 14.05.2010, 20:13
Re: [duv]2 dъvidas - by NathanLive - 14.05.2010, 20:37
Re: [duv]2 dъvidas - by SuB_ZeRo0_ - 14.05.2010, 20:51
Re: [duv]Criar cfg - by NathanLive - 15.05.2010, 01:51
Re: [duv]Criar cfg - by ipsBruno - 15.05.2010, 04:09

Forum Jump:


Users browsing this thread: 1 Guest(s)