/aod system
#1

How to make /aod system
I don't want any RCON admin system!!!
Reply
#2

/aod is?
Reply
#3

Quote:
Originally Posted by MenaceX^
/aod is?
Yeah, what is aod ??

- LJ
Reply
#4

Quote:
Originally Posted by MenaceX^
/aod is?
Ok, it mean Admin On Duty, when admin type that cmd, his name will go to purple
Reply
#5

Quote:
Originally Posted by karla
Quote:
Originally Posted by MenaceX^
/aod is?
Ok, it mean Admin On Duty, when admin type that cmd, his name will go to purple
Try This:

pawn Код:
if(strcmp(cmdtext, "/aod", true) == 0) {
        new tmp[256];
        new aod;
        new string[64];
        tmp = strtok(cmdtext, idx);
        if(!IsPlayerAdmin(playerid)) SendClientMessage(playerid, COLOR_WHITE, "Error: You are not an admin. ");
        if(!strlen(tmp)) SendClientMessage(playerid, COLOR_WHITE, "USAGE: /aod [text]");
        aod = strval(tmp);
        new name[MAX_PLAYER_NAME];
        GetPlayerName(playerid, name, sizeof(name));
        format(string, sizeof (string), "%s Admin: %s", name, aod);
        SendClientMessageToAll(0xFFFF00AA, string);
        return 1;
    }
Reply
#6

Quote:
Originally Posted by karla
I don't want any RCON admin system!!!
Reply
#7

What admin do you use there?.. What variebles? How do you check if the player is an admin?
Reply
#8

Hi,
More Infos about your Admin System please.

- LJ
Reply
#9

Quote:
Originally Posted by ★ 'Littlejohny' ★
Hi,
More Infos about your Admin System please.

- LJ
You just reply mostly all what I said.. In other words though.
Reply
#10

Look at my post here.... Please search the forums before asking

http://forum.sa-mp.com/index.php?topic=95154.0
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)