SetObjectMaterialText
#7

Quote:
Originally Posted by Izaque1998
Посмотреть сообщение
I've looked

PHP код:
COMMAND:text(playeridparams[])
{
new 
texto[128];
if (
sscanf(params"is[128]"object,texto)) SendClientMessage(playerid0xa9c4e4ff"/text objeto texto");
SetObjectMaterialText (objecttexto OBJECT_MATERIAL_SIZE_256x128," Arial "2800xFFFF82000xFF000000,OBJECT_MATERIAL_TEXT_ALIGN_CENTER);//Line error.
return 1;

I tried to do but gave it:
Код:
(142) : error 035: argument type mismatch (argument 2)
It's corrected in the quote... You were using a float in the sscanf and you didn't have a string.
Reply


Messages In This Thread
SetObjectMaterialText - by Izaque1998 - 23.08.2015, 23:44
Re: SetObjectMaterialText - by YoussefHammad - 23.08.2015, 23:46
Re: SetObjectMaterialText - by Champagne - 23.08.2015, 23:49
Re: SetObjectMaterialText - by Izaque1998 - 23.08.2015, 23:51
Re: SetObjectMaterialText - by Wingman - 23.08.2015, 23:59
Re: SetObjectMaterialText - by Izaque1998 - 24.08.2015, 00:09
Re: SetObjectMaterialText - by Crayder - 24.08.2015, 00:14
Re: SetObjectMaterialText - by iTakelot - 24.08.2015, 00:20
Re: SetObjectMaterialText - by Crayder - 24.08.2015, 00:48

Forum Jump:


Users browsing this thread: 1 Guest(s)