31.12.2014, 14:02
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]