Capture The Flag [ Great For Begginers Scripters ] -
Iuri - 03.08.2010
Capture The Flag
Info
Since Capture The Flag ( also knowed as CtF ) was one of the fist SA:MP Gamemodes that people enjoyed it, i decided to make one, so new people in scripting may learn some stuff ( i hope ).
Features
- 2 Teams
- 2 Flags
- Textdraws as Score used
- Anti-Team Kill
- 2 Rounds
- And some others...
How to Play
It's pretty simple, you spawn ( as Red or Blue Team ), and the objective is to steal the other team's flag, and to protect your's. If someone will steal the flag, everyone will be announced by a text. If the guy who gots the flag gets killed, the flag will spawn at the dead guy's X,Y,Z ( possition ).When you capture the flag, you will see a checkpoint on your mini-map. ( there is where you need to drop it ).The gamemode has 2 rounds ( The Las Venturas Meat Factory & inside the Jefferson Motel ). When you will drop the flag at the base, you'r team will gain + 1 at score, and you will receive +3 points.Rounds are changing randomly when a flag is droped to the base.
Download
Mediafire ( includes the .pwn & .amx files ): http://www.mediafire.com/?3vjca3z39q2ftxc
PasteBin:
http://pawn.pastebin.com/9APFWnQX
Installation
Open the .rar file, extract the .pwn & .amx files into you'r gamemodes folder, open you'r server.cfg with note pad, and add at ' gamemodes ', ' CtF '. Then, close it, and open you'r samp-server.exe.
Others
Hope you will enjoy it, and hope it helps for begginers.
Re: Capture The Flag [ Great For Begginers Scripters ] -
Kitten - 03.08.2010
Whoa nice work mind if i edit it ill leave credits
Re: Capture The Flag [ Great For Begginers Scripters ] -
Iuri - 03.08.2010
Sure, you can edit it.
Re: Capture The Flag [ Great For Begginers Scripters ] -
[NoV]LaZ - 03.08.2010
Why are you using strtok if it's not necessary ?
________
Zx14 vs hayabusa
Re: Capture The Flag [ Great For Begginers Scripters ] -
Iuri - 03.08.2010
I only do the commands using ' cmd '
Code:
if(strcmp(cmd,"/me",true) == 0)
, not ' cmdtext '
Code:
if(strcmp("/me",cmdtext) == 0)
. And cmd needs strtok
Code:
new cmd[256],idk; cmd = strtok(cmdtext,idx);
Re: Capture The Flag [ Great For Begginers Scripters ] -
[NoV]LaZ - 03.08.2010
In that case, this script is not good for beginners because they'll learn wrong from it.
________
The cigar boss
Re: Capture The Flag [ Great For Begginers Scripters ] -
Iuri - 03.08.2010
Sorry but i learned like that..i will change it to cmdtext if it's necesarry...But almost all servers uses ' cmd ' not ' cmdtext '...And using cmd from now, it will help them in future creating their own: admin script, gamemode, filterscript & others...
Re: Capture The Flag [ Great For Begginers Scripters ] -
JUKYU - 03.08.2010
Very good script for a newb like me
Re: Capture The Flag [ Great For Begginers Scripters ] -
Brian_Furious - 03.08.2010
Pretty cool...good job!
Re: Capture The Flag [ Great For Begginers Scripters ] -
Iuri - 03.08.2010
Quote:
Originally Posted by JUKYU
Very good script for a newb like me ![Cheesy](images/smilies/biggrin.png)
|
You don't need to insult yourself, everyone starts ' from down '.Hope the script will help you.
Re: Capture The Flag [ Great For Begginers Scripters ] -
gamer931215 - 04.08.2010
looks nice, maybe you can also upload it to pastebin ?
Re: Capture The Flag [ Great For Begginers Scripters ] -
Iuri - 05.08.2010
Pastebin Added.
Re: Capture The Flag [ Great For Begginers Scripters ] -
ManGoe - 17.01.2014
Quote:
Originally Posted by Kitten
Whoa nice work mind if i edit it ill leave credits ![Cheesy](images/smilies/biggrin.png)
|
Can i too?
Re : Re: Capture The Flag [ Great For Begginers Scripters ] -
samp_boy - 17.01.2014
Quote:
Originally Posted by Iuri
You don't need to insult yourself, everyone starts ' from down '.Hope the script will help you.
|
ignore them Dude For me You Did A Good Work Here Is a Rep For You Keep it Up!
Re: Capture The Flag [ Great For Begginers Scripters ] -
LMagnifico - 17.01.2014
very good
Re: Capture The Flag [ Great For Begginers Scripters ] -
Jankingston - 17.01.2014
yeah...my custom script also have "cmd" and i suggest it's the best cmd processor...
Re: Capture The Flag [ Great For Begginers Scripters ] -
Tily - 17.01.2014
Thanks.
Re: Capture The Flag [ Great For Begginers Scripters ] -
iDukeDupe - 28.01.2014
Thank you so much <3 i liked it.
Gratz.