02.01.2013, 01:57
man i made a cmd for setobjecttextmaterial now its not working
at the top i wrote
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
when ever i use it it says server:unknown command
at the top i wrote
pawn Код:
new hello;
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;
}