03.12.2011, 11:15
(
Последний раз редактировалось BlackSA; 03.12.2011 в 12:30.
)
Info
I've created a basic admin system, with admin record.
This system is really basic, made for beginners.
Commands:
*Shown name is the name that will show instead the admin's name who kicked the player.
- The warns, kicks, ban, banreason are saving on the player's file.
Every kick will increase the player kicks on the file with 1, same with the warnings.
-When banning someone the reason that the admin have wrote will shown when the banned player connecting.
Script
http://pastebin.com/wjhuYPMv
Credits
System32 for the thread design idea xD.
****** for sscanf include.
Zeex for ZCMD Command Proccessor.
DracoBlue for Dini.
SA-MP Team.
Havefun.. if you have encountered with any bug, type here.
I've created a basic admin system, with admin record.
This system is really basic, made for beginners.
Commands:
PHP код:
/kick [ID/PartOfName] [Shown Name] [Reason] - Kicking player, saving the kicks on the player's file.
/warn [ID/PartOfName] [Shown Name] [Reason] - warning a player, 3 warnings - BAN.
/unwarn [ID/PartOfName] [Shown Name] [Reason] - unwarning a player, just if he have.
/ban [ID/PartOfName] [Shown Name] [Reason] - ban player by name, while reason will be save on the player's file.
/unban [PlayerName] - unbanning player by name.
/playerstats [ID/PartOfName] - Showing online player stats, warns, kicks.. etc.
/playerstats2 [Name] - Showing player stats from file, warns,kicks,bans,banreason,etc..
- The warns, kicks, ban, banreason are saving on the player's file.
Every kick will increase the player kicks on the file with 1, same with the warnings.
-When banning someone the reason that the admin have wrote will shown when the banned player connecting.
Script
http://pastebin.com/wjhuYPMv
Credits
System32 for the thread design idea xD.
****** for sscanf include.
Zeex for ZCMD Command Proccessor.
DracoBlue for Dini.
SA-MP Team.
Havefun.. if you have encountered with any bug, type here.