23.08.2015, 23:44
How can I do this?
text [objectid] [texto] ?
text [objectid] [texto] ?
COMMAND:text(playerid, params[])
{
new texto;
if (sscanf(params, "if", object,texto)) SendClientMessage(playerid, 0xa9c4e4ff, "/text objeto texto");
SetObjectMaterialText (Objetoid, texto , 0 , OBJECT_MATERIAL_SIZE_256x128," Arial ", 28, 0, 0xFFFF8200, 0xFF000000,OBJECT_MATERIAL_TEXT_ALIGN_CENTER);//Line error.
return 1;
}
(142) : error 035: argument type mismatch (argument 2)
SetObjectMaterialText(objectid, texto, 0, OBJECT_MATERIAL_SIZE_256x128, "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
I've looked
PHP код:
Код:
(142) : error 035: argument type mismatch (argument 2) |