Setting SetObjectMaterialText in-game
#3

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
Of course it can be done dynamically either,
Ah, so it's possible. Cheers.

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
1.) Download a script to do it
2.) Build your own to do it
3.) Download and modify a script
Yes. But:
Quote:

I did have a little search around but didn't find anything about

pawn Код:
CMD:bbtext(playerid,params[])
{
    new text;
    if(sscanf(params, "s[124]", text)) return SendClientMessage(playerid, COLOR_RED, "Syntax: /bbtext [text]");
    new myobject =  CreateObject(3077,404.0000000,2595.0000000,15.6000000,0.0000000,0.0000000,13.9970000);
    SetObjectMaterialText(myobject, text, 0, OBJECT_MATERIAL_SIZE_256x128,\
    "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER); // error line

    return 1;
}
I have no idea how to do this, but this is the closest I think I can get on my own.

Error:
pawn Код:
(1276) : error 035: argument type mismatch (argument 2)
Reply


Messages In This Thread
Setting SetObjectMaterialText in-game - by PrivatioBoni - 26.02.2014, 14:19
Re: Setting SetObjectMaterialText in-game - by Pottus - 26.02.2014, 14:31
Re: Setting SetObjectMaterialText in-game - by PrivatioBoni - 26.02.2014, 14:38

Forum Jump:


Users browsing this thread: 1 Guest(s)