21.07.2015, 17:03
Hello, I maked the interior for my server using streamer and changed floor texture, but I have a problem: if the player is teleported to interior of a second or more times or dies, the color of the texture changes for him (or for all, this is unknown).
code:
screen:
p.s. sorry for my bad english, I am not from Europe.
code:
PHP Code:
public OnGameModeInit()
{
new ap_floor[109];
ap_floor[0] = CreateDynamicObject(...);
// creating the same objects
ap_floor[108] = CreateDynamicObject(...);
for(new i = 0; i < 109; i++) SetDynamicObjectMaterial(ap_floor[i], 0, 19377, "all_walls", "carp11s", 0xFF789DF2);
}
p.s. sorry for my bad english, I am not from Europe.