again textdraw.
#1

Ok the textdraw is working fine but the problem is when he kills a guy the textdraw doesn't update up and doesn't show his experience, is there any way to make a timer or something to update textdraw?
Reply
#2

If you're using TextDrawSetString without hiding>showing the textdraw that's maybe the problem.

Leopard
Reply
#3

yes i am using the string and i think the problem is when he gets experience i don't add the command textdrawhide and then show yes?
Reply
#4

hmm??
Reply
#5

show some code.
Reply
#6

the code is working fine but the textdraw doesn't update so i'm asking do ineed to do HIDE And then SHOW OnPlayerDeath after the EXP++ command?

or i need to do more something..
Reply
#7

just show the code, else we cant help you maybe you did something wrong.
Reply
#8

Код:
	pLevel[killerid][Nuzudymai]++;
	TextDrawHideForPlayer(playerid,Textdraw2);
	new string[256];
	format(string, sizeof(string), "Nuzudymai: %d", pLevel[playerid][Nuzudymai]);
	TextDrawShowForPlayer(playerid,Textdraw2);
i have put this in my onplayerdeath but it doesn't work
Reply
#9

You need to do TextDrawSetString, before showing it.
Reply
#10

I don't think you need to hide/show it but you definitely need to do TextDrawSetString!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)