[GameMode] Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach)
#1

Capture The Vehicle (0.3e) R4

built and script by Romel Rowan


For all users of CPTV R3 who wants to see new updates and improvements in all new R4, just download the new package of CPTV R4 Christmas Pack below..

Bug Found:

I found bug in /setlevel it has been fix for R3, I wouldn't release R3 Because of just this little bug
so i will quote my post on Page 3.

Quote:
Originally Posted by Romel
Посмотреть сообщение
I found another bug in /setlevel during the R3 test.

Following bugs in /setlevel:

• Promote and Demote GameText is not showing (Fixed)
• Maxium level is 5 instead of 3 (Fixed)

Here is the new code of /setlevel.

pawn Код:
CMD:setlevel(playerid, params[])
{
    new level, id, string[128];
    if(pInfo[playerid][pLogin] == 0) return SendClientMessage(playerid, RED, "Register or Login first before using this command!");
    if(pInfo[playerid][pAdmin] >= 3 || IsPlayerAdmin(playerid))
    {
        if(sscanf(params, "ui", id, level)) return SendClientMessage(playerid, RED, "Syntax: /setlevel (id) (1 - 3)");
        if(level > 3 || level < 0) return SendClientMessage(playerid, RED, "Invalid Admin Level!, Valid Admin Level - 1 to 3");
        if(level == pInfo[id][pAdmin]) return SendClientMessage(playerid, RED, "That player is already in that adminlevel!");
        if(id == INVALID_PLAYER_ID) return SendClientMessage(playerid, RED, "Player not connected!");
        if(pInfo[id][pAdmin] > level) GameTextForPlayer(id, "~r~Demoted", 4000, 3);
        if(pInfo[id][pAdmin] < level) GameTextForPlayer(id, "~g~Promoted", 4000, 3);
        switch(level)
        {
            case 0: Admin = "Player";
            case 1: Admin = "Moderator";
            case 2: Admin = "Administrator";
            case 3: Admin = "Server Owner/Co-Owner";
        }
        pInfo[id][pAdmin] = level;
        format(string, sizeof(string), "Administrator %s(%d) has make %s(%d) as Admin Level %d | - %s", GetName(playerid), playerid, GetName(id), id, pInfo[id][pAdmin], Admin);
        SendClientMessageToAll(YELLOW, string);
        format(string, sizeof(string), "You make %s(%d) as admin %d | - %s", GetName(id), id, pInfo[id][pAdmin], Admin);
        SendClientMessage(playerid, LIME, string);
        format(string, sizeof(string), "Administrator %s(%d) has make you as Admin Level %d | - %s", GetName(playerid), playerid, pInfo[id][pAdmin], Admin);
        SendClientMessage(id, YELLOW, string);
    }
    else return SendClientMessage(playerid, RED, "You must be Admin Lvl 3 - Server Owner/Co-Owner to use this command!");
    return 1;
}
New Updates:

R4:

• Snow
• Hat for Christmas
• Remove Admin System
• Re-written Team Balancer
• Updated Plugins and Includes

R2 Beta:

• Team chat is fixed after finding that it was bug during R2 test.
• Reply command is fixed after finding that it was bug during R2 test.
• The unused On/Off duty on /admins has now commands, /aduty
• Added /god for Admin Lvl 1
• /stats has been repair!
• Maxium Admin Lvl, 3
• When you steal the opposite team vehicle, it has now a timer 30 seconds.
• Announcement Messages

R2:

• Buyzone system just like Counter-Strike Buyzone system. (Press Y to pop the shop menu)
• Added new admin commands for owner, /setpoints and /setmoney
• Weapon are attached to your body.
• Headshot System
• Team Balance System

Introduction:

I'm tired seeing many Capture The Flag scripts, so now i made a little bit crazy but funny new game.
"Capture The Vehicle", In this game, Each team must steal car from opposite team.
The Maxium Team Score is 5, if the team reach 5 score, oh and i forgot, you must protect your team's vehicle too. Server will restart. It uses dini for a while. and it uses sscanf, zcmd and foreach for players looping. Thanks to JellalKoayz for testing with me.

Features:

• Team Scoreboard
• Admin System with 5+ commands (will be added soon on R2)
• Saving Score/Money/Kills/Deaths/AdminLvl
• Vehicle Objective
• Gangzones
• Country Name Display OnPlayerConnect
• PM System with own Reply System
• Report Player System
• Team Chat
• Team Balancer
• Buyzone System
• Weapon are attached to your body.
• Headshot System
• Team Balance System
• Snow
• Hat for Christmas
• Remove Admin System

Commands:

• /help
• /rules
• /kill
• /me
• /pm
• /r
• /givemoney
• /w(hisper)

Screenshots:

Here are some screenshots of CPTV R1 (0.3e)
These are from my first testing of CPTV which there is no Team Scoreboard or commands yet.













Report any found bugs:

Current there is 0 bugs found during the test.
Post here if you found any bugs.

Credits:

******
Incognito
DracoBlue
Zeex
Slice
SA-MP Team
JellalKoayz
yezizhu
Peppe
RanSEE
kickerbat (Suggestions)
Romel

Downloadlink:

Capture The Vehicle (0.3e) R1_Romel_Rowan.zip (Mediafire)
Capture The Vehicle (0.3e) R1 Refix (Mediafire)
Capture The Vehicle (0.3e) R2 Beta (Mediafire)
Capture The Vehicle (0.3e) R2 (Mediafire)
Capture The Vehicle (0.3e) R4 Christmas Pack (Solidfiles)

Thank you for using my Capture The Vehicle R4 Gamemode!
Reply


Messages In This Thread
Capture The Vehicle (0.3e) R2 (dini/zcmd/sscanf/foreach) - by JaKe Elite - 12.08.2012, 07:16
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by dozer954 - 12.08.2012, 07:23
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by JaKe Elite - 12.08.2012, 07:24
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by JaKe Elite - 12.08.2012, 07:40
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by Drake_Lopez - 12.08.2012, 08:19
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by JaKe Elite - 12.08.2012, 08:24
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by kickerbat - 12.08.2012, 08:36
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by JaKe Elite - 12.08.2012, 08:37
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by kickerbat - 12.08.2012, 08:40
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by JaKe Elite - 12.08.2012, 08:44
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by JaKe Elite - 12.08.2012, 08:54
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by SampLoverNo123 - 12.08.2012, 09:10
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by JaKe Elite - 12.08.2012, 09:13
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by DarkB0y - 12.08.2012, 09:27
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by StrangeLove - 12.08.2012, 09:39
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by JaKe Elite - 12.08.2012, 09:41
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by Pravin - 12.08.2012, 11:57
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by HyDrAtIc - 12.08.2012, 16:06
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by JaKe Elite - 13.08.2012, 08:36
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by JaKe Elite - 13.08.2012, 09:32
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by JaKe Elite - 13.08.2012, 09:48
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by kickerbat - 13.08.2012, 11:58
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by Henkie - 13.08.2012, 12:02
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by JaKe Elite - 13.08.2012, 12:05
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by jordyvc - 13.08.2012, 17:05
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by JaKe Elite - 14.08.2012, 08:38
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by JaKe Elite - 15.08.2012, 09:09
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by JaKe Elite - 17.08.2012, 12:50
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by JaKe Elite - 18.08.2012, 07:19
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by Team_PRO - 18.08.2012, 09:46
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by JaKe Elite - 19.10.2012, 10:45
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by JaKe Elite - 21.12.2012, 07:06
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by JaKe Elite - 21.12.2012, 07:55
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by Jackie_John - 21.12.2012, 08:54
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by Maftaca - 21.12.2012, 10:32
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by KiNG3 - 22.04.2013, 08:44
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by JaKe Elite - 22.04.2013, 08:56
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by iHaze. - 22.04.2013, 09:16
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by ahmad95 - 22.04.2013, 10:26
Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach) - by sccplks - 16.07.2014, 23:56

Forum Jump:


Users browsing this thread: 3 Guest(s)