UpdateDynamic3DTextLabelText input string not updating
#1

Finally I got my house system saving working properly. But the only problem is the 3DLabelText is not updating when I input a text. I had to restart the gamemode everytime in order to load the new updated text label.

What should be the correct format?

i'm using this one however it is not working
Код HTML:
format("h_name", sizeof( gsString ), "%s", inputtext);
PHP код:
        new housenumber GetHouseIDplayerid );
        if ( 
strcmpGetGVarStringEx"h_Owner"housenumber ), PlayerNameplayerid ), false ) )
        return 
SendClientMessageplayerid, -1,""SV_RD"» {c8c8c8}This house isn't yours!" );
        
formatgsQuerysizeof gsQuery"UPDATE `houses` SET `HName` = '%s' WHERE `HouseID` = '%d'"inputtexthousenumber );
        
mysql_querygsQueryTHREAD_NONEplayerid );
        
format("h_name"sizeofgsString ), "%s"inputtext); <---- this line
        format
gsStringsizeofgsString ), ""W"Press "ORANGE_"H "W"key to Enter the House\n"SV_BL"House Name: "W"%s\n"SV_BL"House Owner: "W"%s\n "SV_BL"House Value: "W"%d$\n "SV_BL"House Privacy: "RED_"Closed\n"SV_BL"House ID: "ORANGE_"%d",GetGVarStringEx"h_name"housenumber ), PlayerName(playerid), GetGVarInt"h_Cost"housenumber),housenumber);
        
UpdateDynamic3DTextLabelTextText3D:GetGVarInt"House3DText"housenumber ), 0xFF9900FFgsString ); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)