3dtext - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 3dtext (
/showthread.php?tid=601105)
3dtext -
Karolukas123 - 16.02.2016
Hey, that best way update3dtext then server restarts ?? i try do on gamemodeinit no work, need manual command to update.
Re: 3dtext -
Joron - 16.02.2016
Have u search for this?
Re: 3dtext -
Karolukas123 - 16.02.2016
yes, no one topic help.
Re: 3dtext -
Chilli9434 - 16.02.2016
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.
Re: 3dtext -
Karolukas123 - 16.02.2016
Код:
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;
Re: 3dtext -
Hellman92 - 16.02.2016
Mabye this help you
https://sampwiki.blast.hk/wiki/Update3DTextLabelText
Re: 3dtext -
zPain - 16.02.2016
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.
Re: 3dtext -
zPain - 16.02.2016
Double-post. My mistake.
Re: 3dtext -
Karolukas123 - 16.02.2016
Yes i first load LoadServerBankMoney, letter try update