[FilterScript] Simple Rank System
#1

I made simple RANK SYSTEM using textdraw.
  • 4 Ranks
  • You can add more then 4 ranks (just like the others are made, not very complicated)
  • You can change rank names to whatever you want
  • You can change score when player get other rank very simply
    |
    |
    |
    V
PHP код:
#define RANK1NAME "You are ~y~Newbie"//change name the way you wont(RANK1)
#define RANK2NAME "You are ~y~Killer"//change name the way you wont(RANK2)
#define RANK3NAME "You are ~y~Gangstar"//change name the way you wont(RANK3)
#define RANK4NAME "You are ~y~The Boss"//change name the way you wont(RANK4)
#define RANK1SCOREa 0 // you are rank1 from 0 score
#define RANK1SCOREb 99 // to 99 score
#define RANK2SCOREa 100// you are rank2 from 100 score
#define RANK2SCOREb 249// to 249 score
#define RANK3SCOREa 250// you are rank3 from 250 score
#define RANK3SCOREb 999// to 999 score
#define RANK4SCORE 1000// you are rank4 from 1000+ score 
A
|
TOP OF SCRIPT

SCREENSHOTS:
<-- CLICK ON THEM TO SE THEM BIGGER





DOWNLOAD
and
PASTEBIN
Reply
#2

It's good, but why do people insist on using OnPlayerUpdate? It would be better to put that stuf in at timer that runs every 500ms or even 100ms or something.
Reply
#3

You think a timer would be more effecient?

I assume OnPlayerUpdate is executed more often than that then, but also I hear that a number of timers can make things bugger?
Reply
#4

Why not make a hook to SetPlayerScore?
No need for timers and other sheet....
Reply
#5

Quote:
Originally Posted by skullmuncher1337
Посмотреть сообщение
It's good, but why do people insist on using OnPlayerUpdate? It would be better to put that stuf in at timer that runs every 500ms or even 100ms or something.
you can set on timer if you wont but as grimr said that to much timers can make buggs
Reply
#6

Good job Wumpyc. !
PD: Im [Nikk] In European Trucking xD
Reply
#7

Doesn't adding timer's just go harder on your CPU/Server?
Anyway; It look's good , the only thing I don't like about it is that it's a big textdraw. Maybe make it a little smaller?
Reply
#8

nice ranks. I like that down the hp 'the boss'
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)