[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
#2

Runtime error
Reply
#3

What is the error?

Edit:

Remove #include <streamer> to avoid the run time error
streamer.inc is not used in the script.
Reply
#4

Thread updated!
Reply
#5

This GM Is Awesome!
Reply
#6

Quote:
Originally Posted by Drake_Lopez
Посмотреть сообщение
This GM Is Awesome!
Thank you.

This forum requires that you wait 120 seconds between posts. Please try again in 75 seconds.
Reply
#7

What happens if the car gets destroyed ?
Reply
#8

Ooppss forgot about the car. Well nothing will happens, you have to wait till the car respawn.
I will fix this on R2. thank you for noticing me about this one.

Edit: on R2, when the objective car is destroy, it will respawn automatic.
Reply
#9

Hi,

I suggest you fix asap and let people know in the main thread

edit;

Another idea would be to add a timer, that you have a certain amount of time to get to the checkpoint before the car is destoryed, then it respawns .
Reply
#10

Thank you for the suggestion, Ok i will add the suggestion on R2 (if i have time)..
Reply
#11

Thread updated with new CPTV R1 Refix Pack!
Reply
#12

Nice release.
Reply
#13

Thank you.
Reply
#14

Nice GM
Reply
#15

Is this based on Rivershell?

Nice gm btw
Reply
#16

Yes the idea was from Rivershell.

And thank you..
Reply
#17

Nice one.
Reply
#18

Great Very Nice
Reply
#19

Thank you all for liking my CTV gamemode.
R2 might be release today or on saturday.
Post your suggestions.
Reply
#20

R2 Beta is now released

Thread updated!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)