Jump to content
  • 0

Un mic ajutor..pls


AdyUzzy1

Question

7 answers to this question

Recommended Posts

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]

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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]

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.