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
 
LennyH's Avatar
 
Join Date: Feb 2016
Posts: 41
Reputation: 48
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
__________________
San Andreas + Vice City + Liberty City
More than 2600 new skins from GTA III, GTA VC, GTA LCS, GTA VCS, Bully, Manhunt, Manhunt 2
More than 300 new weapons (Custom damage, sound and animation)
More than 250 new vehicles (Custom handling and sound)
LennyH is offline   Reply With Quote
Old 12/05/2017, 07:08 AM   #2
iLearner
Gangsta
 
iLearner's Avatar
 
Join Date: Apr 2017
Posts: 539
Reputation: 113
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: 183
Reputation: 15
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
Guest
 
Posts: n/a
Default Re: Achievement System for Roleplay server

Looks great as well as your hud.
  Reply With Quote
Old 12/05/2017, 02:35 PM   #5
LennyH
Little Clucker
 
LennyH's Avatar
 
Join Date: Feb 2016
Posts: 41
Reputation: 48
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
__________________
San Andreas + Vice City + Liberty City
More than 2600 new skins from GTA III, GTA VC, GTA LCS, GTA VCS, Bully, Manhunt, Manhunt 2
More than 300 new weapons (Custom damage, sound and animation)
More than 250 new vehicles (Custom handling and sound)
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: 271
Reputation: 63
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 11:06 PM.


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