Mounting a variable on a textdraw
#1

Hi could you guys tell me how i put a varible online players into a textdraw i have the varible i just need the lines that place the value in the textdraw
Reply
#2

format could be used, then update the textdraw every minute or so
Reply
#3

ive made it so onplayer connect the text draw gets remade and on disconnect the same thing
Reply
#4

use TextDrawSetString instead of recreating
Reply
#5

pawn Код:
new textdrawstring[56];//You dont need long string cos its just a bit of text and players count
format(textdrawstring, 56,"Online players: %d", your_variable);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)