[HELP] How to get this type of thing?
#1

I made a small type of side job , i made 60 cp , can anyone say me how to get this?
Like if player enter his checkpoint , he get 1/60 , 2nd cp 2/60 , and so on.. can anyone help?
Reply
#2

Hello!

That is an textdraw. You can do this with this:
https://sampforum.blast.hk/showthread.php?tid=543002

If you have problems you are able to ask them.

Mencent
Reply
#3

Well,since you made it as a textdraw,then change the number in the string,like:
pawn Код:
//add these up in the gamemode
new checkpointamount[MAX_PLAYERS];
new Text:CheckpointTextdraw;


//onplayerconnect,create the textdraw:
CheckpointTextdraw = TextDrawCreate(..........)//put your coords...same as you created it in the photo


//put this when he enters a checkpoint from the 60 checkpoint :
checkpointamount[playerid]++;


//update the string of the textdraw:
new string[28];
format(string, sizeof string, "CheckPoint %d / 60", checkpointamount[playerid]);
TextDrawSetString(CheckpointTextdraw, string);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)