Sziasztok.Van ugye ez a SetObjectMaterialText:
if (strcmp(\"/text\", cmdtext, true) == 0)
{
new myobject = CreateObject(19353, 0, 0, 10, 0.0, 0.0, 90.0); //create the object
SetObjectMaterialText(myobject, \"SA-MP {FFFFFF}0.3{008500}e {FF8200}RC7\", 0, OBJECT_MATERIAL_SIZE_256x128,\\
\"Arial\", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
// write \"SA-MP 0.3e RC7\" on the object, with orange font color and black background
return 1;
Na ezt hogy rakjam rá kocsira?,Pls help
new
securicar,
theobject;
securicar = CreateVehicle(SECURICA, 2239.8296, 2475.9946, 3.3968, 270.0, 0, 0, -1),
theobject = CreateObject(19477, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
SetObjectMaterialText(theobject, \"S.W.A.T.\", 0, OBJECT_MATERIAL_SIZE_256x128, \"BankGothic Md BT\", 60, 1, 0xfff0f0f0, 0, 1);
AttachObjectToVehicle(theobject, securicar, 1.153, -1.2, 0.46, 0.0, 0.0, 0.0);
Egy Securicar S.W.A.T felirattal.
C:\\Users\\user\\Desktop\\sajat2.pwn(1526) : error 010: invalid function or declaration
C:\\Users\\user\\Desktop\\sajat2.pwn(1529) : error 021: symbol already defined: \"AttachObjectToVehicle\"
C:\\Users\\user\\Desktop\\sajat2.pwn(1530) : warning 203: symbol is never used: \"securicar\"
C:\\Users\\user\\Desktop\\sajat2.pwn(1530) : warning 203: symbol is never used: \"theobject\"