Jump to content
  • 0

Question

5 answers to this question

Recommended Posts

Posted

[pawn]public OnPlayerText(playerid, text[])

{

if(IsPlayerAdmin(playerid))

    {

      new messagetext[128];

      format( messagetext, 128, "(ID:%d)({ff0000}OWNER"R"): %s", playerid, text );

      SendPlayerMessageToAll( playerid, messagetext );

      return 1;

    }

    return 0;

}

[/pawn]

Aici ti-am dat pentru RCON.

Daca vrei pentru un anumit level,lasa reply.

Posted

cum se baga?

Ai publicul OnPlayerText

Adaugi asta sub el:

[pawn]if(IsPlayerAdmin(playerid))

    {

      new messagetext[128];

      format( messagetext, 128, "(ID:%d)({ff0000}OWNER"R"): %s", playerid, text );

      SendPlayerMessageToAll( playerid, messagetext );

      return 1;

    }

    return 0;

}[/pawn]

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.