29.12.2013, 23:37
como coloca esses nomes personalizados? serб algum objeto? kkk
new text = CreateObject(2659,0,0,-1000,0,0,0,100);//Criamos o objeto onde iremos colocar as letras
SetObjectMaterialText(text, " BOPE", 0, OBJECT_MATERIAL_SIZE_256x128, "Arial", 74, 1, 0xFFFFFFFF, 0, 1);//Colocamos as letras
AttachObjectToVehicle(text, GetPlayerVehicleID(playerid), -1.275000,0.000000,0.000000,0.000000,0.000000,-89.099983);//Colocamos o objeto junto ao veiculo , sempre . Neste nгo usei o SetObjectmaterial pois nгo foi necessбrio .
new text2 = CreateObject(2286,0,0,-1000,0,0,0,100);
SetObjectMaterial(text2, 1, 0, "none", "none");//Coloquei uma textura sem nada (none)
SetObjectMaterialText(text2, " POLICE", 0, OBJECT_MATERIAL_SIZE_256x128, "Arial", 75, 1, 0xFFFFFFFF, 0, 1);//Letras
AttachObjectToVehicle(text2, GetPlayerVehicleID(playerid), -0.074999,2.175000,0.525000,-91.799980,0.000000,0.000000);//Attach
new text2 = CreateObject(2286,0,0,-1000,0,0,0,100);
SetObjectMaterial(text2, 1, 0, "none", "none");//Coloquei uma textura sem nada (none)
SetObjectMaterialText(text2, " POLICE", 0, OBJECT_MATERIAL_SIZE_256x128, "Arial", 75, 1, 0xFFFFFFFF, 0, 1);//Letras