awarn to my admin 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)
+--- Thread: awarn to my admin system (
/showthread.php?tid=560608)
awarn to my admin system -
SkaiPeretz - 29.01.2015
I want to do in my Administrators
Warnings Admin
Will command
/awarn and when you have the same Admin has 3 warnings is dropped automatically as an admin
And
/deleteadminwarn how to download the same Admin his warning, and I want to warnings -will my command
/Admins request from you
Can someone please please do me the ZCMD + SSCANF please I am looking for full and there is no network please
the command /Admins:
Код:
CMD:admins(playerid, params[])
{
new gCount, gStr [ 556 ];
foreach(new i:Player)if ( IsPlayerConnected ( i ) && pInfo [ i ] [ pAdminLevel ] != 0 && pInfo [ i ] [ pShowAdmin ] && pInfo [ i ] [ pAdminLogged ] )
{
gCount ++;
format ( gStr, 556, "%s{4682b4}%d).{ffffff}%s {4682b4}[ID:%d | Level: %d | %s{4682b4}] %s\n", gStr, gCount, pInfo [ i ] [ pName ], i, pInfo [ i ] [ pAdminLevel ], ColouredText ( pInfo [ i ] [ pTag ] ), pInfo [ i ] [ pInAFK ]? ( "{C0C0C0}AFK" ) : ( "" ) );
ShowPlayerDialog ( playerid, DIALOG_ADMINS, DIALOG_STYLE_MSGBOX, "{ffffff}({4682b4}:агойрйн озебшйн{ffffff})", gStr, "айщеш", "" );
}
if ( !gCount ) return ShowPlayerDialog ( playerid, DIALOG_ADMINS, DIALOG_STYLE_MSGBOX, "{ffffff}({4682b4}:агойрйн озебшйн{ffffff})", " {949494}.айп щен агойрйн озебшйн лтъ", "айщеш", "" );
return 1;
}
Please Help ME!!
Re: awarn to my admin system -
SkaiPeretz - 29.01.2015
HELP!!!!!!!!!!
Re: awarn to my admin system -
IndependentGaming - 29.01.2015
what do you need with the command CMD:admins ?
create a infraction system or someting.
Re: awarn to my admin system -
SkaiPeretz - 30.01.2015
Quote:
Originally Posted by hwakinsRP
what do you need with the command CMD:admins ?
create a infraction system or someting.
|
I want in this command warnings that Administrators
Re: awarn to my admin system -
SkaiPeretz - 30.01.2015
UP Please help me
Re: awarn to my admin system -
SkaiPeretz - 31.01.2015
Helppp
Re: awarn to my admin system -
CalvinC - 31.01.2015
You are only allowed to bump once every 24 hours.
You can make a Warnings enum in your pInfo, and then increase that each time you use the command.
Then set the admin level to 0 if the Warnings enum is 3.
Re: awarn to my admin system -
KayJ - 31.01.2015
Please be specify/explain your problem with relax mind