Texturemapping - does not work every time
#1

I noticed it in the R1 of 0.3x.

But this already happening in 0.3e.

Every first connect on a Server will cause that some objects won't be retextured.
Restreaming the Object is not working for me.

The Code I use is this:
pawn Код:
/* Decke */
    new t = CreateObject(19372, 354.05, -76.72, -7.14,   0.00, 90.00, 0.00); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 357.55, -76.72, -7.14,   0.00, 90.00, 0.00); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 361.05, -76.72, -7.14,   0.00, 90.00, 0.00); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 364.55, -76.72, -7.14,   0.00, 90.00, 0.00); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 350.55, -76.72, -7.14,   0.00, 90.00, 0.00); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 364.55, -73.52, -7.14,   0.00, 90.00, 0.00); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 361.03, -73.52, -7.14,   0.00, 90.00, 0.00); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 357.55, -73.52, -7.14,   0.00, 90.00, 0.00); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 354.05, -73.52, -7.14,   0.00, 90.00, 0.00); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 350.55, -73.52, -7.14,   0.00, 90.00, 0.00); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 364.55, -70.32, -7.14,   0.00, 90.00, 0.00); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 361.05, -70.32, -7.14,   0.00, 90.00, 0.00); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 357.55, -70.32, -7.14,   0.00, 90.00, 0.00); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 354.05, -70.32, -7.14,   0.00, 90.00, 0.00); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 350.55, -70.32, -7.14,   0.00, 90.00, 0.00); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 364.55, -67.12, -7.14,   0.00, 90.00, 0.00); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 361.05, -67.12, -7.14,   0.00, 90.00, 0.00); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 357.55, -67.12, -7.14,   0.00, 90.00, 0.00); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 354.05, -67.12, -7.14,   0.00, 90.00, 0.00); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 350.55, -67.12, -7.14,   0.00, 90.00, 0.00); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
   
    /* Decke links */
    t = CreateObject(19372, 349.12, -69.12, -8.44,   0.00, 90.00, 0.00,450); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 349.12, -65.91, -8.44,   0.00, 90.00, 0.00,450); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 349.12, -62.70, -8.44,   0.00, 90.00, 0.00,450); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 352.62, -64.12, -8.44,   0.00, 90.00, 0.00,450); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
    t = CreateObject(19372, 356.12, -64.12, -8.44,   0.00, 90.00, 0.00,450); SetObjectMaterial(t, 0, 18031, "papaerchaseoffice", "CJ_worktop", 0xFFFFFFFF);
   
    /* Wand Tьr ganz links + Ecke*/
    t = CreateObject(19372, 350.08, -76.22, -9.94,   0.00, 0.00, 0.00,450); SetObjectMaterial(t, 0, 3968, "cj_airprt", "Slabs", 0xFFFFFFFF);//SetObjectMaterial(t, 0, 3313, "sw_poorhouse", "sw_wallbrick_06", 0xFFFFFFFF);
    t = CreateObject(19372, 350.08, -73.02, -9.94,   0.00, 0.00, 0.00,450); SetObjectMaterial(t, 0, 3968, "cj_airprt", "Slabs", 0xFFFFFFFF);//SetObjectMaterial(t, 0, 3313, "sw_poorhouse", "sw_wallbrick_06", 0xFFFFFFFF);
    t = CreateObject(19372, 349.28, -73.66, -9.94,   0.00, 0.00, 90.00,450); SetObjectMaterial(t, 0, 3968, "cj_airprt", "Slabs", 0xFFFFFFFF);//SetObjectMaterial(t, 0, 3313, "sw_poorhouse", "sw_wallbrick_06", 0xFFFFFFFF);

How it look by first join/before gmx -> http://blackace.org/Screens/sa-mp-068.png
How it should look -> http://blackace.org/Screens/sa-mp-069.png
Reply
#2

It's not a bug check http://forum.sa-mp.com/showthread.ph...99#post1816699 you have to use player objects for this.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)