Jump to content

Recommended Posts

Posted

Salut, cine ma poate ajuta cu functia onplayertext, gen sa imi apara pe chat-ul global cand vorbeste cineva cu grad de admin/helper sa apara gradul inaintea numelui, pentru gamemode-ul Burned. Help me pls 🥺

image.thumb.png.517088d8483d5f86879e5c18159f741d.png

Posted

    if(PlayerInfo[playerid][pAdmin] >= 1)  {
        format(string, sizeof(string), "(A) {FFFFFF}%s: %s", GetName(playerid), text);
        ProxDetector(200.0, playerid, string,COLOR_RED);
        return 0;
    }
    if(PlayerInfo[playerid][pHelper] >= 1)  {
        format(string, sizeof(string), "(H) {FFFFFF}%s: %s", GetName(playerid), text);
        ProxDetector(200.0, playerid, string,COLOR_RED);
        return 0;
    }

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.