3dtext
#1

Hey, that best way update3dtext then server restarts ?? i try do on gamemodeinit no work, need manual command to update.
Reply
#2

Have u search for this?
Reply
#3

yes, no one topic help.
Reply
#4

Can you try and better explain yourself, I don't want to come across as arrogant but I don't really understand what you are trying to say.
Reply
#5

Код:
but text don't update. I need update it manual.. 

}
stock LoadServerBankMoney()
{
	new uzkl[225];
	mysql_query("SELECT * FROM `srvMoney`");
	mysql_store_result();
	mysql_retrieve_row();
	if(mysql_num_rows()){
    mysql_fetch_field_row(uzkl, "BankMoneyM"); BankMoney = strval(uzkl);
    UpdateBankText();}
 	mysql_free_result();
 	return UpdateBankText();
 	
 	
 	
 	
}
stock UpdateBankText()
{
	new Text[300];

	format(Text,sizeof(Text),"[%d]", BankMoney);
	Update3DTextLabelText(BankInfo, 0xFFFFFFFF, Text);
	return 1;
Reply
#6

Mabye this help you https://sampwiki.blast.hk/wiki/Update3DTextLabelText
Reply
#7

That depends on the kind of system we're talking about.

Take a property system for instance. Assuming there's a 3d text on the door, you will need to update the 3d text once the properties are loaded and then whenever an information displayed on the 3d text has its value changed.
Reply
#8

Double-post. My mistake.
Reply
#9

Yes i first load LoadServerBankMoney, letter try update
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)