SA-MP Forums

Go Back   SA-MP Forums > SA-MP > Screenshots and Videos

Reply
 
Thread Tools Display Modes
Old 12/05/2017, 06:41 AM   #1
LennyH
Little Clucker
 
Join Date: Feb 2016
Posts: 12
Reputation: 21
Thumbs up Achievement System for Roleplay server

So I've been working on an Achievement System for my server and the result was pretty satisfying, took a step further and added an in-game shop so unlocking achievements have their own use.

Here is a list of achievements I currently added.


I made a test account and gave myself money so I can test one of the achievements.


I also gave myself a little bit more XP so I can test the /xpshop command




I also made a command which shows the achievements you've unlocked /myachievements
The amount of the XPs earned also can be seen in /stats
__________________
LennyH is offline   Reply With Quote
Old 12/05/2017, 07:08 AM   #2
iLearner
Big Clucker
 
iLearner's Avatar
 
Join Date: Apr 2017
Posts: 153
Reputation: 49
Default Re: Achievement System for Roleplay server

One question, how do you guys handle the achievements ? I mean like detecting if player unlocked ... achievement.

I am doing it through a 5 second timer (named it AchievementsManager).
iLearner is offline   Reply With Quote
Old 12/05/2017, 09:21 AM   #3
CheezIt
Big Clucker
 
CheezIt's Avatar
 
Join Date: Apr 2017
Posts: 60
Reputation: 2
Default Re: Achievement System for Roleplay server

Quote:
Originally Posted by iLearner View Post
One question, how do you guys handle the achievements ? I mean like detecting if player unlocked ... achievement.

I am doing it through a 5 second timer (named it AchievementsManager).
Upon action/event.
__________________


I like to share footage of things I find interesting, cool, funny and anything in between!
CheezIt is offline   Reply With Quote
Old 12/05/2017, 09:27 AM   #4
Astralis
High-roller
 
Join Date: Sep 2009
Posts: 2,515
Reputation: 333
Default Re: Achievement System for Roleplay server

Looks great as well as your hud.
Astralis is online now   Reply With Quote
Old 12/05/2017, 02:35 PM   #5
LennyH
Little Clucker
 
Join Date: Feb 2016
Posts: 12
Reputation: 21
Default Re: Achievement System for Roleplay server

Quote:
Originally Posted by iLearner View Post
One question, how do you guys handle the achievements ? I mean like detecting if player unlocked ... achievement.

I am doing it through a 5 second timer (named it AchievementsManager).
It's a bit complicated, like stoned driver achievement works with /engine command, if you are stoned and use /engine after a 20 second timer it triggers the event. Each achievement is activated when a player is doing a task by a variable or a timer. It all depends, it is different for each achievement.


Quote:
Originally Posted by Astralis View Post
Looks great as well as your hud.
Thanks man m8
__________________
LennyH is offline   Reply With Quote
Old 12/05/2017, 03:01 PM   #6
JustMe.77
Huge Clucker
 
JustMe.77's Avatar
 
Join Date: Jun 2013
Location: Germany
Posts: 252
Reputation: 47
Default Re: Achievement System for Roleplay server

Nothing special, but an achievement system is always a good add-on for a server.
JustMe.77 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
Achievement System JaKe Elite Scripting Help 9 08/03/2015 04:37 AM
Achievement and Medal System - Dialog Boxes Avi Raj General 16 13/04/2013 06:01 AM


All times are GMT. The time now is 07:28 AM.


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