Posts: 6
Threads: 2
Joined: Jan 2016
Reputation:
0
Hi.
How can i change the texture of an object (with SetMaterialObject ) without making a CreatObject.
For exemple : i want to change all roads il San Andrйas ,so i 'm not going to creatobject all roads , i'm just loking for retuxturing thиme with setmaterialobject without creating an object .
Posts: 416
Threads: 47
Joined: May 2011
Reputation:
0
So what you are asking for is the ability to retexture all of the existant GTA San Andreas roads? That means you have to mod your game, it doesn't have anything to do with pawn.
Posts: 1,219
Threads: 51
Joined: Jul 2012
Not possible
*edit at least not serverside ^^
Posts: 1,099
Threads: 79
Joined: Nov 2011
Reputation:
0
This is not possible. It is impossible even if you create the objects server sided. You can't remove all the roads from the game, because there is a limit for RemoveBuildingForPlayer as well.
But, if you are certain that your players will not travel the whole map in one game session, then you can only remove the roads that the player will be driving through / visiting, rather than everything.
Posts: 1,167
Threads: 57
Joined: Jul 2010
Reputation:
0
in Map Editor duplicate all roads, move them 0.01 above original and set texture - done.