[FilterScript] Warn System. [Dialogs + Functions] - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Warn System. [Dialogs + Functions] (
/showthread.php?tid=553803)
Warn System. [Dialogs + Functions] -
HY - 31.12.2014
Introduction:
- Hello, so, here's my filescript, a Warn System.
Commands:
/Warn - Will warn specified player.
/UnWarn - Will unwarn specified player.
/WarnAll - Will warn all online players.
/UnWarnAll - Will unwarn all online players.
/MyWarns - Will tell to you how many warnings you have.
Functions:
ResetWarns(playerid); - Reset warns at a player.
ResetWarnsToAll(); - Reset warns to all players.
WarnPlayer(playerid); - Warns a player and increase his warns with 1.
WarnAll(); - Warns all players and increase them warnings with 1.
Preview:
- So... I was bored, so I created this Warn System.
- This system have 4 useful functions and 5 usual commands for a Warn System.
- An Admin can warn a player by using command /Warn where he will saw a dialog and increasing specified player warnings with 1.
- An Admin can unwarn a player by using command /UnWarn where he wil saw a dialog and his warns will be setted to 0.
- Also, an RCON can warn & unwarn all players by commands /WarnAll & /UnWarnAll.
- Also, a player can check how many warnings are them having by command: /MyWarns.
- If a player will receive 3 warnings, he will got kicked.
- A player will receive a warning, also, when he type in chat a bad word from Invalid Words array, where you can add much more words.
- All warns & unwarns are saved in cfg files in scriptfiles folder.
- That it's all system, I hope you like it.
Download:
- Pastebin; [Source Code]
- Solidfiles; [Source Code + AMX File + Includes Pack + scriptfiles cfg files + Installation tutorial]
AW: Warn System. [Dialogs + Functions] -
Flori - 31.12.2014
Good job.
Re: Warn System. [Dialogs + Functions] -
UltraScripter - 31.12.2014
nice !
.
Re: Warn System. [Dialogs + Functions] -
Younes44 - 31.12.2014
Good job
Re: Warn System. [Dialogs + Functions] -
xXxMauroxXx - 31.12.2014
Good job!
Re: Warn System. [Dialogs + Functions] -
HY - 31.12.2014
Quote:
Originally Posted by Flori
Good job.
|
Quote:
Originally Posted by UltraScripter
nice ! .
|
Quote:
Originally Posted by Younes44
Good job
|
Quote:
Originally Posted by xXxMauroxXx
Good job!
|
Thanks.
Re: Warn System. [Dialogs + Functions] -
Toolkit - 01.01.2015
good job, some images?