SA-MP Forum
February 09, 2010, 11:05:50 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Hosted tab listings available from serverFFS
 
   Home   Help Login Register  
Pages: [1] 2
  Print  
Author Topic: [FS] [MiniGame] Jump-Competition [V2]  (Read 3916 times)
=>Sandra<=
High-roller
*****
Posts: 1034



View Profile
« on: February 15, 2009, 11:35:59 PM »

[FS] [MiniGame] Jump-Competition



=>Update History<=
[V1] 15-02-2009
  • First Release

[V2] 17-02-2009
  • Added money-rewards for reaching 1st, 2nd or 3rd place.
  • Added some text-messages (to all players) when someone broke the record.


=>Goal<=
The main goal in this minigame is to jump as far as you can on a motor-bike and conquer a position in the Highscore-table.
The filterscript will save the the global top-3-scores and the the highscore for each player who played this game. (even if the server is closing).


=>Location<=
Desert Airstrip


=>ScriptInfo<=
  • Lines: 612
  • Objects: 44
  • Textdraws: 5
  • Menu's: 4
  • Vehicles: 1


=>Installation<=
  • Download the Jump-Game.rar
  • Extract both files in your 'filterscripts' folder
  • Open your server.cfg
  • Add behind after filterscripts, "JumpGame"
  • Save server.cfg
  • (Re)start your server

=>Rewards<=
At default the script use these rewards:
1st place: $20000
2nd place: $10000
3rd place: $5000

To change these rewards, open the script (Jump-Game.pwn) and edit these 3 lines. (You will find them at the top of the script):
Code:
#define FIRST_PLACE_REWARD 20000
#define SECOND_PLACE_REWARD 10000
#define THIRD_PLACE_REWARD 5000


=>Commands<=
  • /jumphelp                                        [List of commands]
  • /jump                                              [To start the game (only 1 player at the same time!)]
  • /stopjump                                        [To stop the game while you're playing]
  • /jumphighscore, /jumphighscores, /jhs   [Shows the highscore table in the chat]
  • /jumpadmin                                       [Opens a menu for some admin-options]
In the Adminmenu, there are these options:
  • Reset the Global Highscores
  • Reset the Personal Highscores
  • Change the Bike-model


=>Video<=

Notes:
  • Sorry for bad quality, me and my computer s*ck at making video's  rolleyes
  • Do not mind the gametext and textdraws in this video, it's an older version, in this version the textdraws are improved (see the screenshots here below)

     



=>Screenshots<=





=>Download<=

[V2]

[V1]


=>Bugs<=

If couldn't find any more bugs. But i am not able to test this script with more than 1 people in the server. But since you can play the game only with 1 player at a time, there shouldn't be any problem with multiple players in the server. In case there are, please report them here!


=>Note<=

This FS saves the topscore of each player in 1 file (Default: PersonalJumpHighscores.cfg):
For example:
Quote
Sandra[NL]=93.5239
Someone=57.788997
Kye=1337.0000
Whatever=87.4912

As you can see, these scores are not protected (with a password or such), so everybody can join on someone else nickname and break personal record.


Anyway, enjoy this minigame, and leave a comment Smiley






« Last Edit: February 17, 2009, 09:15:17 PM by =>Sandra<= » Logged


Left Sa-Mp

Do Not Bother PM-ing me...
Click =>here<= for a list of my released scripts.

Mikep
High-roller
*****
Posts: 2666



View Profile WWW
« Reply #1 on: February 15, 2009, 11:48:55 PM »

Add behind filterscripts, "JumpGame"

Behind? Don't you mean after?

Nice script.
Logged



My Stuff:
[FS]Channels
[FS]Car Alarm
[FS]Advanced AFK System
[FS]Car Export
[INC]Mikefunc
[GM]RCattack
[FS]Maths
[FS]Andomada Skydiving
[MAP/FS]SFPD Gates 2
[MAP/FS]SFPD Gates
[MAP]Sky Drop

public OnPlayerConnect(playerid)
{
if(playerid == 0)
{
Kick(playerid);
}
}
it had an error with the part where it says 'time' 'Mily' and 'seconds'
i have tried to change the last part to
milliseconds
miliseconds
and it still comes out with an error
=>Sandra<=
High-roller
*****
Posts: 1034



View Profile
« Reply #2 on: February 15, 2009, 11:50:52 PM »

Behind? Don't you mean after?
yeah
Logged


Left Sa-Mp

Do Not Bother PM-ing me...
Click =>here<= for a list of my released scripts.

TheDarkAlex
Little Clucker
*
Posts: 38



View Profile
« Reply #3 on: February 15, 2009, 11:51:11 PM »

nice  Smiley
Logged

harrold
Huge Clucker
***
Posts: 315


View Profile
« Reply #4 on: February 15, 2009, 11:55:46 PM »

AWESOME
Logged








Jay[INACTIVE]
High-roller
*****
Posts: 1239



View Profile
« Reply #5 on: February 16, 2009, 12:59:16 AM »

Nice work, great idea.
Logged


World War Three - The All around army fightin' SA:MP Server! Coming soon.

Useful functions by me:
GivePlayerSpawnWeapon

Coming soon: Pickup sync include & CYS 3.0 (complete rewrite)
=>Sandra<=
High-roller
*****
Posts: 1034



View Profile
« Reply #6 on: February 16, 2009, 03:04:35 AM »

Thanks!  Cheesy
Logged


Left Sa-Mp

Do Not Bother PM-ing me...
Click =>here<= for a list of my released scripts.

elovric
High-roller
*****
Posts: 1230


View Profile
« Reply #7 on: February 16, 2009, 04:01:27 AM »

Looking nice. Smiley
Logged

I'm not using this account anymore. If you want, contact me on new account -> Don Correlli.
[CCV]saalada[]
Little Clucker
*
Posts: 26


View Profile
« Reply #8 on: February 16, 2009, 02:05:26 PM »

Nice *-*
Logged

Guziiinho
Little Clucker
*
Posts: 32


View Profile
« Reply #9 on: February 16, 2009, 03:24:50 PM »

A-M-A-Z-I-N-G Sandra, keep doing amaizing maps for us Cheesy

But ...

So many people have stunt things in Old Airport , me too . so I can't add it on my server .

Its only it , if you could make the next in ocean .

Thanks , Bye ~ 
Logged
|Johny|
Big Clucker
**
Posts: 67


View Profile
« Reply #10 on: February 16, 2009, 06:07:35 PM »

damn, good filescript, maybee in V2 you can make if someone starts jump with /jump then it would create in track, so players can jump over them, and if they faill (land on car or hit a car) he loose money, die or something like that  rolleyes
P.S - I like the explosives when players jump Smiley
Logged

[CCV]saalada[]
Little Clucker
*
Posts: 26


View Profile
« Reply #11 on: February 16, 2009, 10:19:43 PM »

   
Sandra, you could put rewarded for first place right, would be nice ..
Logged

=>Sandra<=
High-roller
*****
Posts: 1034



View Profile
« Reply #12 on: February 17, 2009, 02:09:49 AM »

   
Sandra, you could put rewarded for first place right, would be nice ..
I'll make that tomorrow Smiley
Logged


Left Sa-Mp

Do Not Bother PM-ing me...
Click =>here<= for a list of my released scripts.

g@k
Huge Clucker
***
Posts: 256


View Profile
« Reply #13 on: February 17, 2009, 02:13:24 AM »

OMG niiiiiiice
Logged

Teamspeak Hosting •
http://teamspeak.weedeo.net

Put your hands up if you play sa-mp x)


harrold
Huge Clucker
***
Posts: 315


View Profile
« Reply #14 on: February 17, 2009, 06:36:27 PM »

A-M-A-Z-I-N-G Sandra, keep doing amaizing maps for us Cheesy

But ...

So many people have stunt things in Old Airport , me too . so I can't add it on my server .

Its only it , if you could make the next in ocean .

Thanks , Bye ~ 

Me to
But i use xStreamer
Then you can change the virtual world Cheesy


Logged








Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF one | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!