SetObjectMaterialText - Text not appearing.
#1

PHP код:
    new MyObject CreateDynamicObject(28851831.5167236328, -1590.885864257817.0568733215330090.14697265625);
    
SetObjectMaterialText(MyObject"MyText"040,"Arial Black"2800xAA3333AA0xFF0000001); 
Well - The object appears.. But it's empty :/

Help would be appreciated , Thanks in advance.
Reply
#2

Doesn't work with dynamic objects since they are in fact playerobjects.
Reply
#3

What Vince is saying is, you're creating a DYNAMIC object, so you need to use the function to set a DYNAMIC object's text (SetDYNAMICObjectMaterialText).
Reply
#4

try this

pawn Код:
new MyObject = CreateDynamicObject(2885, 1831.5167236328, -1590.8858642578, 17.056873321533, 0, 0, 90.14697265625);
    SetObjectMaterialText(MyObject,0 , "MyText", 40,"Arial Black", 28, 0, 0xAA3333AA, 0xFF000000, 1);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)