SetObjectTextMaterial
#1

man i made a cmd for setobjecttextmaterial now its not working

at the top i wrote

pawn Код:
new hello;
under

public OnFilterScriptint()

i wrote

hello = CreateObject(19353, -2081.90, 246.23, 46.38, 2.00, 84.00, 6.56); //that is on worker spawn area

and the cmd

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/text", cmdtext, true, 10) == 0)
    {
        SetObjectMaterialText(hello, "hello everyone", 0, OBJECT_MATERIAL_SIZE_256x128,"Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
        return 1;
    }
    return 0;
}
when ever i use it it says server:unknown command
Reply


Messages In This Thread
SetObjectTextMaterial - by CBCandyBoy - 02.01.2013, 01:57
Re: SetObjectTextMaterial - by Intoxicated - 02.01.2013, 02:09
Re: SetObjectTextMaterial - by CBCandyBoy - 02.01.2013, 02:36
Re: SetObjectTextMaterial - by CBCandyBoy - 02.01.2013, 02:39
Re: SetObjectTextMaterial - by [HK]Ryder[AN] - 02.01.2013, 03:15
Re: SetObjectTextMaterial - by CBCandyBoy - 02.01.2013, 03:16

Forum Jump:


Users browsing this thread: 1 Guest(s)