SA-MP Forums Archive
/aod system - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: /aod system (/showthread.php?tid=70507)



/aod system - karla - 25.03.2009

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


Re: /aod system - MenaceX^ - 25.03.2009

/aod is?


Re: /aod system - Littl3j0hNy - 25.03.2009

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

- LJ


Re: /aod system - karla - 25.03.2009

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


Re: /aod system - _TeRmiNaToR_ - 25.03.2009

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;
    }



Re: /aod system - Mikep - 25.03.2009

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



Re: /aod system - MenaceX^ - 25.03.2009

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



Re: /aod system - Littl3j0hNy - 25.03.2009

Hi,
More Infos about your Admin System please.

- LJ


Re: /aod system - MenaceX^ - 25.03.2009

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.


Re: /aod system - Jason_Larson - 25.03.2009

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

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