Score = wanted level
#1

Hello!

I got a idea about score and wanted levels.

It works like this, when you reach a amount of score, you will get a wanted level.
Like this.
score: 100 *
score: 250 **
score: 500 ***
score: 750 ****
score: 1000 *****

I dont know if it can be done or how to be done, and make it being saved in userfile, or make a check when a player spawns. The star must be shown even if he have a score between 100-249 until he get 250 in score and a second star.
Are someone willing to help me out with this?
Reply
#2

it is possible i will be able to make it but i am not sure how. somthing like
if(getplayerscore(playerid) > 100 && getplayerscore(playerid) < 250)
{
Setplayerwantedlevel(playerid, x);
}
something like that its not correct and will prob give some errors but i tihnk you should be able to do the rest yourself
Reply
#3

Quote:
Originally Posted by Madsen
Посмотреть сообщение
it is possible i will be able to make it but i am not sure how. somthing like
if(getplayerscore(playerid) > 100 && getplayerscore(playerid) < 250)
{
Setplayerwantedlevel(playerid, x);
}
something like that its not correct and will prob give some errors but i tihnk you should be able to do the rest yourself
Hmm, i can try from here, but i guess i will fail when im not that good on scripting :P

EDIT: it works! Thanks allot man one more question, is it possible to show ministars over the healtbar visible for other players? i mean over/under nametags?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)