04.09.2011, 12:10
(
Последний раз редактировалось Jack_Leslie; 11.10.2011 в 22:57.
)
Los Santos Gang Wars
A good base for Team Deathmatch
Information:A good base for Team Deathmatch
This is a very basic Gang Team Deathmatch script, it uses dFile, DCMD and strcmp for some commands. The user registration and login has dialogs, and it saves their money, score, kills, deaths and VIP level. It also has a very basic Administration system. I haven't done anything with the VIP. It's got a few basic user commands (see /help), and a very small shopping system (/shop). I'm releasing this version to the public, and continuing it into a private script.
It has 4 teams, Grove St, Ballas, Vagos and Aztecas. It also has a teamchat system, just type "!" in front of the chat, e.g. "! hello team". Also, it has a "/veh" command for Level 3 admins, and you can use the cars name, e.g. "/veh sultan".
I haven't put in any anti-cheat, but there is a system that warns an admin if a user goes over 175mph in a vehicle, in case they are speed hacking. I also haven't put any interiors in, I've put gang cars and then a few cars around Los Santos, but I mostly left it up to you. I just haven't seen many bug-free bases for gang team death-matches around.
User Commands: (see /help)
Код:
/kill /class /pm /blockpm /buylevel /stats /g
Код:
/gotovag /gotogs /gotogp /gotola /kick /ban /unban /setmoney /givemoney /givegun /gethere /veh /togtk
I've put a very basic system that punishes a player for killing a team member, this can be toggled off by an Admin with "/togtk" - it's togged on by default. If a player kills a team mate, they'll be kicked with a warning message, and be fined $500.
Local and Global Chat:
If a user chats normally, it'll be sent locally with ProxDetector. This is because when I develop this script into a private script, it'll be half roleplay, half gang tdm, and one roleplay feature is a local chat, but there's a "/g(lobal)" command for Global Chat.
Random Messages:
There's a system that sends a random message to the server, at the moment there's 3 random messages, you can easily add your own random message, or just edit the current ones.
Rules System:
Everytime a player logs in, they'll be sent 4 rules (by default), the rules are "#define"ed, so make sure to change them in the script.
Credits go to the makers of:
DCMD
dFile
Streamer
foreach
Credits to people who helped fix bugs:
PrawkC
varthshenon
Jeffrey
Download:
v1.0 12th October MegaUpload (whole package): http://www.megaupload.com/?d=NL9NFQM7
v1.0 6th September fix (.pwn only): http://www.sendspace.com/file/6y23hc
v1.0: http://www.sendspace.com/file/dwcbrs
Bugs:
-- Users could log into anyones account by entering any random password (fixed)
Changelog:
Major Fix:
6th September:
Код:
Fixed major exploit regarding passwords Removed the 2 warnings
Код:
Released
Plugins list:
Plugins Download:
Код:
plugins streamer sscanf Whirlpool Filemanager