[GameMode] Los Santos War [Groove vs Ballas vs Vagos] -> [v1.0]
#1

Introduction:


- You start as a Civilian, after Register or Login. You need to choose your Team In-Game by writing /Change. After that, you need to fight and win the war vs opponents team. You can choose your weapons by typing /Weapons.

Includes:


pawn Код:
#include <a_samp>
#include <zcmd>
#include <sscanf>
#include <dini>
#include <dudb>
Register/Login System



- This Gamemode, have a efficientlly Login/Register System. All account statisticies are saved in \scriptfiles\/Users\PlayerName.ini. There you can change what do you want... Kills, Deaths, Admin, Vip, Score, etc.This system it's made using Dini and Dudb. I think Y_Ini it's better and efficientlly, but I use DINI. All stats are saving after disconnect.

*Sorry for no photos, no more time*



Level & XP System



- In this Gamemode, you can see a Level & XP System. If a player kills another player will get + 1 Experience point, and with that Experience Point he can increase in Level by typing /LevelUp, also, can see his Level Statisticies by typing /Level, and he will saw there exactlly his Level and Experience !

*Sorry for no photos, no more time*


Admin System



- We have to a Basic Admin System. More commands you see below !

pawn Код:
// Admin Commands:

LEVEL 1:

/Healme - Heals Admin wich type this !
/Armourme - Give armour to player wich type this !
/Healall - Heals all players !
/Armourall - Give armour to all players !
/GunsForAll - Give a Weapons Pack to all Online Players !
/GiveWeapon - Give Weapon to someone !
/SetTime - Set specified Time to specified player !
/SetWeather - Set specified Weather to specified player !
/DisarmAll - Disarm all players !
/Disarm - Disarms you !
/GodMode - Get Infinity Life !
/GodModeOff - Exit GodMode !
/VGodMode - Get Car Infinity Life !
/VGodModeOff - Exit VGodMode !
/AKill - Kill specified player !
/Goto - Go to specified player position !
/Announce - Make an announce !
/SetSkin - Sets specified skin to someone !
/Get - Teleport a player to Admin position !
/Freeze - Freeze a player !
/UnFreeze - Unfreeze a player !
/Spawn - Spawns a player !
/Clearchat - Clears the all players chat !

LEVEL 2;

/Kick - Kicks a player !
/Ban - Ban a player !
/SetGodMode - SetGodMode to a Player !
/Slap - Slap a Player !
/Warn - Warn a Player !
/Givecash - Give cash to someone !
/Givescore - Give score to someone !
/SetHealth - Set specified health to someone !
/SetArmour - Set specified armour to someone !
/GetAll - Get all players to Admin Position !
/FreezeAll - Freeze all online players !
/UnFreezeAll - Unfreeze all online players !

RCON;

/SetAdmin - Sets Admin to someone !
/KickAll - Kicks all players !
/Restart - Restart the server !
/FullCashToAll - Give full cash to all players !
/RemoveCashToAll - Sets all players cash to 0 !
/FullScoreToAll - Give full score to all players !
/RemoveScoreToAll - Sets all players score to 0 !

*Acces to Admin Shop ! [/AShop]
*Immunity to Players/Vip Commands !
*RCON it's immunity to all Commands !
*Level 2 have acces to Level 1 & Level 2 commands !
*RCON have acces to all commands !
VIP System



- We have to a Basic VIP System. More commands you see below !


pawn Код:
// Vip Commands:

/VHeal - Heals that VIP !
/VArmour - Get Armour !
/VJetpack - Spawns a Jetpack !
/VW - Vip Weapons Pack !
/Spawnme - Spawns player wich type this !

* Get spawned with more Weapons !
* Get spawned with Extra Health !
* Acces at VIP Weapons Pack ! [/VW]


RCON;

/SetVip;

Another Features:


- Login System ;
- Register System ;
- Dynamic Pick-ups to all Clan Bases ;
- Weapon Shop ;
- Admin System ;
- Admin Commands ;
- VIP System ;
- VIP Commands ;
- AFK/BRB/BACK System ;
- Ban/Kick/Warn System ;
- DM Arena Deathmatch ;
- 3 Clans : Vagos, Ballas, Groove ;
- Gang Zones on Map : Purple = Ballas || Yellow = Vagos || Green = Groove ;



Pick-ups:



- At all Spawn bases of all clans it's a Pick-up ! Player can enter only once time in that pick-up to get more weapons, refill armour and health !

AFK/BRB System



- A player can be BRB/AFK [Away From Keyboard] just typing In-Chat : /AFK, he will have Full life, and he can't move, he cannot kill someone, and he cannot be killed. If he want to come back in War, he type /Back, and continue his mission !


Screens :




























































How I become Admin ?



- To become Admin, you only type : /SetLevel [ID] [Level] and you get your wanted Admin Level !

How I become VIP ?



- To become Admin, you only type : /SetVip [ID] [Level] and you get your wanted VIP Level !

How I make VIP Command ?



pawn Код:
CMD:YourCommandName(playerid,params[])
{
    if(PlayerInfo[playerid][Vip] >= Your Level Here)
    {
        // Your Code Right Here
    }
    else
    {
        SendClientMessage(playerid,-1, "{FF0000}VipCmd: {15FF00}You are not authorized to use this command !
    }
    return 1;
}
- To become Admin, you only type : /SetVip [ID] [Level] and you get your wanted VIP Level !


How I make an Admin Command ?



pawn Код:
CMD:YourCommandName(playerid,params[])
{
    if(PlayerInfo[playerid][Admin] >= Your Level Here)
    {
        // Your Code Right Here
    }
    else
    {
        SendClientMessage(playerid,-1, "{FF0000}AdmCmd: {15FF00}You are not authorized to use this command !
    }
    return 1;
}

Download



- Pastebin ;

- Solidfiles ;

Notes:



- If you don't want, make just like this:

pawn Код:
/*

CMD:freeadmin(playerid,params[])
{
    if(IsPlayerAdmin(playerid))
    {
        PlayerInfo[playerid][Admin]++;
        SendClientMessage(playerid, -1, "{15FF00}AdmCmd: {FF0000}You are at a new Admin Level");
    }
    else
    {
        SendClientMessage(playerid, -1, "{15FF00}ERROR: {FF0000}You are not authorized to use this command !");
    }
    return 1;
}

*/
Reply
#2

Not bad, Very nice work.
Reply
#3

Not bad it's good work
Reply
#4

Quote:
Originally Posted by Rudy_
Посмотреть сообщение
Not bad, Very nice work.
Quote:
Originally Posted by ExtremeHostOwner
Посмотреть сообщение
Not bad it's good work
Thanks !
Reply
#5

I like it! Great job.
Reply
#6

Nice work, +rep for the effort.
Reply
#7

Not bad.
You could fix your grammar, and that /clearchat command LMFAO.
Why don't you just:
pawn Код:
for(new i = 0; i < 20; i++) SendClientMessageToAll(-1, "");
Reply
#8

Quote:
Originally Posted by RustyXD
Посмотреть сообщение
I like it! Great job.
Quote:
Originally Posted by Famous.
Посмотреть сообщение
Nice work, +rep for the effort.
Quote:
Originally Posted by biker122
Посмотреть сообщение
Not bad.
You could fix your grammar, and that /clearchat command LMFAO.
Why don't you just:
pawn Код:
for(new i = 0; i < 20; i++) SendClientMessageToAll(-1, "");
Thanks , for suggestion too.
Reply
#9

Great GM , I like it xD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)