SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 05/09/2014, 09:58 AM   #1
Jakwob
Huge Clucker
 
Jakwob's Avatar
 
Join Date: Jan 2014
Location: United Kingdom
Posts: 250
Reputation: 27
Thumbs up Rank System [Updated]

This is my first post here, i have never released any of my scripts before but i hope i can release more soon.

I was looking for a Xp/level system for my server i was creating and i never found one the suits me and meets my needs so i created this Filterscript and now i am not working on my server i thought i would share it for everyone to use.

Information

Experiance, level and prestige system, it can be customized so for example you complete a job or DM then you can make it give the player the desired amount of xp, on leveling up you will receive a payment for you success on leveling up and you will recieve a huge $1 million when you prestige. The system saves individual level profile in a seprate folder to where your accounts will be saved.

Features
  • Experiance points
  • Levels
  • Prestige Levels
  • Fully Saving (not affecting player saving)
  • Auto Level up
  • Payday on level up

Commands

/ranks - Check your ranks and see what you can do to earn ranks
/givexp - Give yourself xp (Rcon Admins only)
/givelvl - Give yourself Levels (Rcon Admins Only

Installation

You will need the required includes in order to run this filterscript;
  • zcmd
  • YSI

You will need to create a folder in scriptfiles called "Levels" (without this saving will not happen).

Download Version 1.0
Download (sendspace.com) [Version 1.0]
Pastebin [Version 1.0]

Version 1.1 Update

New & Updated Commands:
  • (Updated) /givexp <playerid> <1 - 99>
  • (Updated) /givelevel <playerid> <1 - 99>
  • (New) /giveprestige <playerid> <1 - 99>
  • (Example) /veh - Only players with Prestige can use /veh
  • (New) /myrank
  • (new) /resetrank <playerid> (Reset a players rank)

Full list of commands:
  • /rankhelp - player command
  • /myrank - player command
  • /givexp - Admin command
  • /givelvl - Admin command
  • /giveprestige - Admin command
  • /resetrank - Admin command
  • /veh - Prestige level + only

Changed Level up notification from SendClientMessage to GameTextForPlayer

Download Version 1.1:
Here (sendspace.com)
Here (pastebin.com)

Screenshots:
Rank Help


Level Up


Prestige level


My Rank


If you find any bugs or have any problems with this FS please PM me and i will resolve the problem.

Last edited by Jakwob; 26/11/2014 at 11:30 AM.
Jakwob is offline   Reply With Quote
Old 05/09/2014, 10:41 AM   #2
KayJ
Gangsta
 
KayJ's Avatar
 
Join Date: Apr 2014
Location: India
Posts: 773
Reputation: 51
Default Re: Jakwobs Xp/Lvl/Prestige system (fully saving)

Code:
CMD:givexp(playerid, params[])
{
    if(!IsPlayerAdmin(playerid))return 0;
    {
                rInfo[playerid][xp] += 50;
        }
        return 1;
}

Code:
rInfo[playerid][xp] += 50;
what is +=50?
__________________
KayJ is offline   Reply With Quote
Old 05/09/2014, 10:43 AM   #3
Steel_
Huge Clucker
 
Join Date: May 2014
Location: England
Posts: 417
Reputation: 61
Default Re: Jakwobs Xp/Lvl/Prestige system (fully saving)

Quote:
Originally Posted by SturtIndia View Post
Code:
CMD:givexp(playerid, params[])
{
    if(!IsPlayerAdmin(playerid))return 0;
    {
                rInfo[playerid][xp] += 50;
        }
        return 1;
}

Code:
rInfo[playerid][xp] += 50;
what is +=50?
50 is the amount that gets added to your score.
Steel_ is offline   Reply With Quote
Old 05/09/2014, 10:47 AM   #4
Jakwob
Huge Clucker
 
Jakwob's Avatar
 
Join Date: Jan 2014
Location: United Kingdom
Posts: 250
Reputation: 27
Default Re: Jakwobs Xp/Lvl/Prestige system (fully saving)

Thats right WIzdo as i used them commands to test if the system is working fine
Jakwob is offline   Reply With Quote
Old 05/09/2014, 10:55 AM   #5
KayJ
Gangsta
 
KayJ's Avatar
 
Join Date: Apr 2014
Location: India
Posts: 773
Reputation: 51
Default Re: Jakwobs Xp/Lvl/Prestige system (fully saving)

Quote:
Originally Posted by Wizdo View Post
50 is the amount that gets added to your score.
Quote:
Originally Posted by Jakwob View Post
Thats right WIzdo as i used them commands to test if the system is working fine
I know WIzdo but is it max? Mean to say that can you make it to [ /command (ammount) ] EG
__________________
KayJ is offline   Reply With Quote
Old 05/09/2014, 11:03 AM   #6
Jakwob
Huge Clucker
 
Jakwob's Avatar
 
Join Date: Jan 2014
Location: United Kingdom
Posts: 250
Reputation: 27
Default Re: Jakwobs Xp/Lvl/Prestige system (fully saving)

The Max xp is 100 then it levels you up. the max Level is 100 and then you prestige, and from then you can reach any prestige level, its easy to change what level you want to be max by changing this
Code:
 if(rInfo[playerid][xp] > 100)
i will be updating the commands so admins can put there own value in instead of 50 also i will be adding textdraws and some more little features.
Jakwob is offline   Reply With Quote
Old 17/10/2014, 11:00 PM   #7
ZenBish
Little Clucker
 
ZenBish's Avatar
 
Join Date: Oct 2013
Posts: 44
Reputation: 20
Default Re: Jakwobs Xp/Lvl/Prestige system (fully saving)

Nice.
ZenBish is offline   Reply With Quote
Old 16/11/2014, 01:33 PM   #8
Jakwob
Huge Clucker
 
Jakwob's Avatar
 
Join Date: Jan 2014
Location: United Kingdom
Posts: 250
Reputation: 27
Default Re: Jakwobs Xp/Lvl/Prestige system (fully saving)

thanks ZenBish i been checking your mapping out there awesome .
Jakwob is offline   Reply With Quote
Old 16/11/2014, 05:10 PM   #9
M0HAMMAD
Gangsta
 
M0HAMMAD's Avatar
 
Join Date: May 2014
Posts: 532
Reputation: 34
Default Re: Jakwobs Xp/Lvl/Prestige system (fully saving)

useful for Fun servers
nice job.
M0HAMMAD is offline   Reply With Quote
Old 19/11/2014, 09:22 PM   #10
LeXuZ
Huge Clucker
 
Join Date: Oct 2014
Location: United Kingdom
Posts: 308
Reputation: 12
Default Re: Jakwobs Xp/Lvl/Prestige system (fully saving)

Looks good I will try it out, good job!
LeXuZ 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
[FilterScript] Login - Register System - [Fully on textdraws] JonathanW Filterscripts 16 26/11/2014 11:05 AM
Locker system not fully functional AndySedeyn Scripting Help 0 30/03/2014 05:57 PM
[FilterScript] Skin Changer [FULLY DIALOG FUNCTIONALITY || EASY AND USER FRIENDLY || YSI SAVING SYSTEM] Private200 Filterscripts 3 07/08/2013 12:06 PM
[?]New SZR fully controllable NOS system Qeux Help Archive 3 17/03/2011 02:24 AM
[Help] Not fully working trunk system Diablo1st Help Archive 1 04/06/2009 09:37 PM


All times are GMT. The time now is 04:46 AM.


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