Jump to content

Question

Posted

Hi ^^

Deci am sistemul admin (ladmin) in GM

si vreau sa imi arate asa la admini -->, de ex : ady (Admin) <---

Ce trebuie sa schimb sau sa fac?

Fara reclama in semnatura!

7 answers to this question

Recommended Posts

Posted

LA[pawn]OnPlayerText(playerid,text[])[/pawn]Adaugi:[pawn]      if(PlayerInfo[playerid][Level] >= 1)

{

      new messagetext[128];

  format(messagetext, 128, ""W"(ID:%d)"COL_BLUE"[Admin]"COL_BLUE": %s", playerid, text);

  SendPlayerMessageToAll(playerid, messagetext);

  return 0;

}[/pawn]

[glow=blue,2,300]SAMP.[glow=yellow,2,300]RSP-GAME[glow=red,2,300].NET[/glow][/glow][/glow]

Posted

LA[pawn]OnPlayerText(playerid,text[])[/pawn]Adaugi:[pawn]      if(PlayerInfo[playerid][Level] >= 1)

{

      new messagetext[128];

  format(messagetext, 128, ""W"(ID:%d)"COL_BLUE"[Admin]"COL_BLUE": %s", playerid, text);

  SendPlayerMessageToAll(playerid, messagetext);

  return 0;

}[/pawn]

inlocuiesc sau adaug mai jos?

Fara reclama in semnatura!

Posted

A da scuze am uitat :))

Sus in gm sau fs ->

[pawn]static szPlayerChatMsg[MAX_PLAYERS][128];[/pawn]

public OnPlayerDisconnect(playerid, reason)

[pawn]szPlayerChatMsg[playerid] = "";[/pawn]

La OnPlayerText

[pawn] format(szPlayerChatMsg[playerid], 128, "%s", text);

            If(PlayerInfo[playerid][Level] >= 1 && PlayerInfo[playerid][Level] <= 10)

    {

                  new messagetext[128];

  format(messagetext, 128, ""W"(ID:%d)"COL_BLUE"[Admin]"COL_BLUE": %s", playerid, text);

  SendPlayerMessageToAll(playerid, messagetext);

  return 0;

  }[/pawn]

[glow=blue,2,300]SAMP.[glow=yellow,2,300]RSP-GAME[glow=red,2,300].NET[/glow][/glow][/glow]

Posted

A da scuze am uitat :))

Sus in gm sau fs ->

[pawn]static szPlayerChatMsg[MAX_PLAYERS][128];[/pawn]

public OnPlayerDisconnect(playerid, reason)

[pawn]szPlayerChatMsg[playerid] = "";[/pawn]

La OnPlayerText

[pawn] format(szPlayerChatMsg[playerid], 128, "%s", text);

            If(PlayerInfo[playerid][Level] >= 1 && PlayerInfo[playerid][Level] <= 10)

    {

                  new messagetext[128];

  format(messagetext, 128, ""W"(ID:%d)"COL_BLUE"[Admin]"COL_BLUE": %s", playerid, text);

  SendPlayerMessageToAll(playerid, messagetext);

  return 0;

  }[/pawn]

deci am rezolvat trb k [Admin] dar akm la (Owner) knd vreau sa scriu cv imi spune k fac spam:(

Fara reclama in semnatura!

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.