Admin Team
#2

You can use this functions to change the material & the text of the object you created and attached to vehicle.
https://sampwiki.blast.hk/wiki/SetObjectMaterial
https://sampwiki.blast.hk/wiki/SetObjectMaterialText

This might not be correct, but you can get idea how to make it.

PHP код:
CMD:vehtext(playerid,params[])
{
new 
text;
if(
sscanf(params,"s",text)) return SendClientMessage(playerid,0xCCCCCCAA,"/vehtext [text]");
new 
myobject CreateObject(1935300100.00.090.0); //create the object
    
SetObjectMaterialText(myobject,text0OBJECT_MATERIAL_SIZE_256x128,\
    
"Arial"2800xFFFF82000xFF000000OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
return 
1;

Reply


Messages In This Thread
Admin Team - by itachi - 03.04.2015, 09:22
Re: Admin Team - by Golf - 03.04.2015, 10:01
Re: Admin Team - by itachi - 03.04.2015, 10:05
Re: Admin Team - by Golf - 03.04.2015, 10:07
Re: Admin Team - by itachi - 03.04.2015, 10:09
Re: Admin Team - by CalvinC - 03.04.2015, 10:10
Re: Admin Team - by itachi - 03.04.2015, 10:11
Re: Admin Team - by CalvinC - 03.04.2015, 10:13
Re: Admin Team - by itachi - 03.04.2015, 10:15

Forum Jump:


Users browsing this thread: 1 Guest(s)