SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Gamemode Scripts

Reply
 
Thread Tools Display Modes
Old 13/08/2012, 09:48 AM   #21
JaKe Elite
High-roller
 
JaKe Elite's Avatar
 
Join Date: Apr 2012
Location: Philippines
Posts: 3,047
Reputation: 342
Default Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach)

Thank you
__________________
GOOD BYE Y_LESS


Server Developer/Co-Owner
177.242.230.1:2556 (SERVER IP)
www.int-rp.gq

JaKe Elite is offline   Reply With Quote
Old 13/08/2012, 11:58 AM   #22
kickerbat
Big Clucker
 
Join Date: Aug 2012
Posts: 74
Reputation: 4
Default Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach)

Looks good !
kickerbat is offline   Reply With Quote
Old 13/08/2012, 12:02 PM   #23
Henkie
Godfather
 
Henkie's Avatar
 
Join Date: Oct 2010
Location: North Brabant, The Netherlands
Posts: 5,426
Reputation: 2182
Default Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach)

Great idea, well done!
__________________
Henkie is offline   Reply With Quote
Old 13/08/2012, 12:05 PM   #24
JaKe Elite
High-roller
 
JaKe Elite's Avatar
 
Join Date: Apr 2012
Location: Philippines
Posts: 3,047
Reputation: 342
Default Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach)

Thank you.
__________________
GOOD BYE Y_LESS


Server Developer/Co-Owner
177.242.230.1:2556 (SERVER IP)
www.int-rp.gq

JaKe Elite is offline   Reply With Quote
Old 13/08/2012, 05:05 PM   #25
jordyvc
Big Clucker
 
Join Date: Sep 2011
Location: Belgium, Antwerpen
Posts: 167
Reputation: 7
Default Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach)

Unique gamemode. I will test it tomorrow!!
__________________
jordyvc is offline   Reply With Quote
Old 14/08/2012, 08:38 AM   #26
JaKe Elite
High-roller
 
JaKe Elite's Avatar
 
Join Date: Apr 2012
Location: Philippines
Posts: 3,047
Reputation: 342
Default Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach)

Ty jordyvc. Will add headshot system on Saturday.
Adding headshot system will help protectors of their vehicle to kill the stealers.

Ex.

Jellal rides on the Green team's vehicle and try to bring to their spawnpoint.
Romel shoot it on Jellal's Head, Jellal died because of Headshot.
__________________
GOOD BYE Y_LESS


Server Developer/Co-Owner
177.242.230.1:2556 (SERVER IP)
www.int-rp.gq

JaKe Elite is offline   Reply With Quote
Old 15/08/2012, 09:09 AM   #27
JaKe Elite
High-roller
 
JaKe Elite's Avatar
 
Join Date: Apr 2012
Location: Philippines
Posts: 3,047
Reputation: 342
Default Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach)

Thank you for 60+ downloads. Hope the gamemode can reach to 100,000+ gamemode downloads.
__________________
GOOD BYE Y_LESS


Server Developer/Co-Owner
177.242.230.1:2556 (SERVER IP)
www.int-rp.gq

JaKe Elite is offline   Reply With Quote
Old 17/08/2012, 12:50 PM   #28
JaKe Elite
High-roller
 
JaKe Elite's Avatar
 
Join Date: Apr 2012
Location: Philippines
Posts: 3,047
Reputation: 342
Default Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach)

R2 (Full Version) is now released.

Thread updated!
__________________
GOOD BYE Y_LESS


Server Developer/Co-Owner
177.242.230.1:2556 (SERVER IP)
www.int-rp.gq

JaKe Elite is offline   Reply With Quote
Old 18/08/2012, 07:19 AM   #29
JaKe Elite
High-roller
 
JaKe Elite's Avatar
 
Join Date: Apr 2012
Location: Philippines
Posts: 3,047
Reputation: 342
Default Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach)

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.

Code:
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;
}
__________________
GOOD BYE Y_LESS


Server Developer/Co-Owner
177.242.230.1:2556 (SERVER IP)
www.int-rp.gq

JaKe Elite is offline   Reply With Quote
Old 18/08/2012, 09:46 AM   #30
Team_PRO
High-roller
 
Team_PRO's Avatar
 
Join Date: Aug 2012
Location: Laguna, Philippines
Posts: 1,838
Reputation: 85
Default Re: Capture The Vehicle (0.3e) R1 (dini/zcmd/sscanf/foreach)

Nice
__________________
Follow me at Twitter: @xmattsantosx For Fun!

Team_PRO is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[GameMode] Roleplay Script - Get Started [sscanf, zcmd, dini, dudb, foreach] Jafet_Macario Gamemode Scripts 469 15/04/2015 05:50 AM
[Tutorial] How to: Implement Roleplay Chats [zcmd, sscanf, foreach] ReneG Tutorials 36 01/01/2014 12:12 PM
[GameMode] Las Venturas TDM [sscanf/YSI/foreach/ZCMD/Admin/VIP] [Nikk] Lanzamientos/Releases 20 24/02/2012 07:55 PM
[GameMode] International FreeRoam v0.1 - v0.2 - ZCMD, SScanf, SQLite, foreach! Edvin Gamemode Scripts 8 26/12/2011 12:58 AM
[GameMode] Blank Gamemode (dini, zcmd, sscanf2, foreach) pantelimonfl Gamemode Scripts 17 10/07/2011 04:56 PM


All times are GMT. The time now is 08:15 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.