SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 09/01/2018, 06:57 AM   #1
SoFahim
Gangsta
 
SoFahim's Avatar
 
Join Date: May 2015
Location: Bangladesh.
Posts: 944
Reputation: 82
Default [Q/A] Usage of SetDynamicObjectMaterialText

You all know about the SetDynamicObjectMaterial and SetDynamicObjectMaterialText .

I am researching a few information about this.

Does SetDynamicObjectMaterialText/SetDynamicObjectMaterial somehow duplicate the objects? Or, how much usage it take per object?

If there 1index have SetDynamicObjectMaterial and another SetDynamicObjectMaterialText, does it produce object count or what type of usage it take?
__________________
Senior Developer & Mapping manager of SARP
Quote:
SoFahim is offline   Reply With Quote
Old 09/01/2018, 07:14 AM   #2
Logic_
High-roller
 
Logic_'s Avatar
 
Join Date: Jun 2015
Location: NL-RP
Posts: 1,392
Reputation: 241
Default Re: [Q/A] Usage of SetDynamicObjectMaterialText

It doesn't create another object. It creates and the object and modifies the client to change the texture as ordered by the server.
__________________
Developer @ <enter your roleplay server name here>
Disclaimer: Affiliate of PrestigeSteve
Providing SA-MP, G-MOD, Web hosting and Hosted tab listing for cheap @ www.prestigesteve.com.
Logic_ is offline   Reply With Quote
Old 09/01/2018, 10:11 AM   #3
SoFahim
Gangsta
 
SoFahim's Avatar
 
Join Date: May 2015
Location: Bangladesh.
Posts: 944
Reputation: 82
Default Re: [Q/A] Usage of SetDynamicObjectMaterialText

Quote:
Originally Posted by Logic_ View Post
It doesn't create another object. It creates and the object and modifies the client to change the texture as ordered by the server.
I heard from a few place that it lag even if there only a few materials [ Not that much ] but, yet I couldn't find any lag by any chance..

I need more clear reply, hope there somehow to explain, thanks.
__________________
Senior Developer & Mapping manager of SARP
Quote:
SoFahim is offline   Reply With Quote
Old 09/01/2018, 12:23 PM   #4
Logic_
High-roller
 
Logic_'s Avatar
 
Join Date: Jun 2015
Location: NL-RP
Posts: 1,392
Reputation: 241
Default Re: [Q/A] Usage of SetDynamicObjectMaterialText

Lag is from client side, not server side. They need a new machine, not you to run your server. However, every time player streams in that textured object, it's gonna re-apply the textures because of being 'Dynamic' (for the player)...
__________________
Developer @ <enter your roleplay server name here>
Disclaimer: Affiliate of PrestigeSteve
Providing SA-MP, G-MOD, Web hosting and Hosted tab listing for cheap @ www.prestigesteve.com.
Logic_ is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug with SetDynamicObjectMaterialText MerryDeer Scripting Help 0 07/11/2016 10:10 AM
SetDynamicObjectMaterialText ScIrUsna Scripting Help 1 20/04/2016 05:24 AM
[Tutorial] SA:MP Images usage, list and usage. Partner Tutorials 23 26/03/2016 10:00 PM
little help with SetDynamicObjectMaterialText moof2010 Scripting Help 3 29/05/2014 10:43 AM
[Help]SetDynamicObjectMaterialText cr33d Scripting Help 2 24/01/2014 10:34 PM


All times are GMT. The time now is 09:49 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.