SA-MP Forums Archive
[GameMode] Call of Duty: Gun Game - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Gamemode Scripts (https://sampforum.blast.hk/forumdisplay.php?fid=71)
+--- Thread: [GameMode] Call of Duty: Gun Game (/showthread.php?tid=296298)

Pages: 1 2


Call of Duty: Gun Game (v1.1 *NEW*) - fiki574 - 10.11.2011

•••CALL OF DUTY: GUN GAME•••

VERSION 1.2(*** NEWEST RELEASE ***)


New in Version 1.2

- Warehouse Map
- /maps - Open maps dialog menu
- Random server messages (change to your liking)
- Advanced map changing when player reaches level 15
- If you go to Prestige, you get extra money per kill and dont lose money on death
- More commands in /cmenu
- Added checkpoint at /pause (opens menu)
- Added LuxAdmin 1.6
[ame]http://www.youtube.com/watch?v=nQgAKK0307s[/ame]

Gamemode contains:

1. Saving stats using OnPlayerUpdate/Disconnect

--> Money (1 kill = 500$; 1 death = -100$)
--> Kills (=Score)
--> Prestige (No/Yes -> 0/1)
--> Ranks:
- 0 Score = Newbie
- 10 Score = Player
- 20 Score = Skilled Player
- 50 Score = Pro
- 80 Score = Commander
- 100 Score = General
- 150 Score = The Boss
- 200 Score = Superman

2. Maps

- Desert Town
- Warehouse

3. 12 commands

- /cmds -> Show list of all commands
- /help -> Show help box
- /rules -> Show server rules
- /mystats -> Show your stats (Money, Kills and Rank)
- /kill -> Suicide
- /buyarmor -> Give yourself extra protection
- /buyhealth -> Heal yourself
- /pm [id] [message] -> Send Private Message to player
- /cmenu -> commands menu
- /pause -> take a break from a game
- /play -> get back to gun game
- /maps -> Maps menu

4. Website textdraw

Change this:
Code:
TextDraw0 = TextDrawCreate(328.0, 0.0," www.sampcss.com");
Into this:
Code:
TextDraw0 = TextDrawCreate(328.0, 0.0," www.yourwebhere.domain");
5. Server IP and server commands textdraw:

Change this:
Code:
Bottom = TextDrawCreate(18.000000,428.000000,"  178.77.98.96:8086  RestOfTextDrawHere");
Into this:
Code:
Bottom = TextDrawCreate(18.000000,428.000000,"  your.server.ip.here:port  RestOfTextDrawHere");
6. GunGame Level textdraw

- From 0 to 15, changes on your every kill

7. Clock textdraw

- Showing your local time

8. Info messages OnPlayerConnect/Disconnect

*** Player [playername] has joined the Server ***
*** Player [playername] has left the Server ***

9. Gun Game version info

Code:
Vinfo = TextDrawCreate(495, 114, "Gun Game Version 1.2");
- Current version of this GM (change if you want)

10. Custom worldtime

Code:
SendRconCommand("worldtime Its GunGame time!");
- Change if you want

11. Random server messages

- Example:
Code:
{FF0000}SERVER: {FFFFFF}You are playing on Call of Duty: Gun Game server created by {00FF40}fiki574_CRO
12. Luxorion Administration FS

- Must use mine, I have changed few things so it can work properly

DOWNLOAD:

Mediafire (v1.2)



BUG REPORT:
Code:
Bug description:
Where and when bug appeared:
SUGGESTIONS:
Code:
What kind of suggestion (command, rewards, more advanced saving, etc.):
Description of suggestion:
CREDITS:
fiki574_CRO - Whole script :P
Dracoblue - dini
Luxorion - LuxAdmin 1.6


HOW TO:
1. Install this!
- Download .rar file and read "README.txt" for installation help

2. Add custom ranks
- Find command /mystats
- Add new line like this:
Code:
if(GetPlayerScore(playerid) >= DesiredScore) {rank = "YourRank";}
3. Add new GunGame Levels
- Replace all TextDraws with new level ammount(example 0/17, 1/17, 2/17, ..., 17/17)
- Add this code OnPlayerDeath:
Code:
if(GGameLvl[killerid] == YourNewLevel)
{
   //code here
}
4. Scan which was players level when he died and give correct weapon and TDraw info
Code:
public OnPlayerSpawn(playerid
{
    if(GGameLvl[playerid] ==  YourGGameLvl)
    {
       //code here
    }
return 1;
}
P.S. That unactive guy in vid is me, I was on both laptop and computer!


Re: Call of Duty: Gun Game - Hiddos - 10.11.2011

Reminds me of my gun game script, but this one is a lot more advanced.


Re: Call of Duty: Gun Game - fiki574 - 11.11.2011

Quote:
Originally Posted by Hiddos
View Post
Reminds me of my gun game script, but this one is a lot more advanced.
Yeah! I spent a total of 2 hours in 2 days (total = 4 hours) doing this! :P

Any more comments?


Re: Call of Duty: Gun Game - R0NaLd - 12.11.2011

vixe pelo GM cara ta nota 10 mesmo grande postagem
Abrзos



Re: Call of Duty: Gun Game - Soul's Rev - 12.11.2011

Well, when i entered in the game i got a lots of error lol. World Boundaries , lag etc. could you help me out this..?
anyway Very very nice gamemode! Good Job!!


Re: Call of Duty: Gun Game - fiki574 - 12.11.2011

Quote:
Originally Posted by Soul's Rev
View Post
Well, when i entered in the game i got a lots of error lol. World Boundaries , lag etc. could you help me out this..?
anyway Very very nice gamemode! Good Job!!
Can you please describe that errors?

And tnx!


Re: Call of Duty: Gun Game - GangsTa_ - 12.11.2011

Good job.


Re: Call of Duty: Gun Game - Astralis - 12.11.2011

nice work.


Re: Call of Duty: Gun Game - fiki574 - 12.11.2011

Thanks guys!


Re: Call of Duty: Gun Game - Soul's Rev - 12.11.2011

Okay.. this is my server_log.txt. sorry because i really can't explain the problem (I'm not good at english).i just put a screenshot. you could try to join in my server to see it fully
Quote:

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3c R2, ©2005-2011 SA-MP Team

[08:37:45]
[08:37:45] Server Plugins
[08:37:45] --------------
[08:37:45] Loaded 0 plugins.

[08:37:45]
[08:37:45] Filter Scripts
[08:37:45] ---------------
[08:37:45] Loading filter script 'pm.amx'...
[08:37:45] Loaded 1 filter scripts.

[08:37:45] Number of vehicle models: 0




Re: Call of Duty: Gun Game - fiki574 - 12.11.2011

Quote:
Originally Posted by Soul's Rev
Посмотреть сообщение
Okay.. this is my server_log.txt. sorry because i really can't explain the problem (I'm not good at english).i just put a screenshot
1. Please do not give yourself credits for Gun Game cause I made it! :O

2. PM script shouldnt cause any bugs!

3. That screenshot you got is showing common SAMP client bug, not script or server bug!


Re: Call of Duty: Gun Game - fiki574 - 12.11.2011

NEW VERSION AND NEW LINK! PLEASE REDOWNLOAD!


Re: Call of Duty: Gun Game - Soul's Rev - 12.11.2011

Quote:
Originally Posted by fiki574_CRO
Посмотреть сообщение
1. Please do not give yourself credits for Gun Game cause I made it! :O

2. PM script shouldnt cause any bugs!

3. That screenshot you got is showing common SAMP client bug, not script or server bug!
No.. your credits is still there.. i just change the name of the game . in any gamemode i use i never remove the credits xD


Re: Call of Duty: Gun Game - fiki574 - 12.11.2011

Quote:
Originally Posted by Soul's Rev
Посмотреть сообщение
No.. your credits is still there.. i just change the name of the game . in any gamemode i use i never remove the credits xD
Ok then!


Re: Call of Duty: Gun Game - Soul's Rev - 12.11.2011

Dang... i still can't play whenever i open the game


Re : Call of Duty: Gun Game - klimm - 12.11.2011

Nice


Re: Call of Duty: Gun Game - fiki574 - 12.11.2011

Quote:
Originally Posted by Soul's Rev
Посмотреть сообщение
Dang... i still can't play whenever i open the game
PM me with your problem!

Quote:
Originally Posted by klimm
Посмотреть сообщение
Nice
Tnx!


Re: Call of Duty: Gun Game - fiki574 - 12.11.2011

I found saving bug and fixed it! New link is available! Please redownload!

P.S. Sorry for often bumping!


Re: Call of Duty: Gun Game - Soul's Rev - 12.11.2011

Quote:
Originally Posted by fiki574_CRO
Посмотреть сообщение
PM me with your problem!



Tnx!
You chosen to not recieve Private Messages lol
Anyway i found a solution. could you fix your server ? look at this thread
https://sampforum.blast.hk/showthread.php?tid=294556


Re: Call of Duty: Gun Game - fiki574 - 12.11.2011

Quote:
Originally Posted by Soul's Rev
Посмотреть сообщение
You chosen to not recieve Private Messages lol
Anyway i found a solution. could you fix your server ? look at this thread
https://sampforum.blast.hk/showthread.php?tid=294556
My server runs perfectly almost a week! No crashing, no bugs! And I just use one teleport, ONE, so shouldnt be any problems!