Jump to content
  • 0

Editare textura..sau ceva de genul


FOCA

Question

Buna ziua , si Hristos a inviat! Am si eu o intrebare , dat fiind ca-s nou in ceea ce priveste scriptingul in pawn...pentru a intelege ce vreau , va spun mai intai ce vreau sa fac.

Vreau sa scriu pe o anumita masina un text....si sa-l vada toti playerii (bun , pana aici am reusit sa fac)

Problema e ca nu stiu cum sa-l pozitionez corect pe acea masina...cum pot afla pozitia dorita a textului?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
Citat

 AttachObjectToVehicle(CreateObject(19419, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0), RUTT[32], -0.00100, -0.07780, 0.81250, 0.0, 0.1, 0.0);
    fbtxt = CreateObject(19477, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
    SetObjectMaterialText(fbtxt, "Politia Rutiera", 0, OBJECT_MATERIAL_SIZE_256x128, "Comic Sans MS", 25, 1, 0xFFFFFFFF, 0, 1);
    AttachObjectToVehicle(fbtxt, RUTT[32], 1.11, 0.20, -0.12, 0.0, 0.0, 0.0);
    fbtxt = CreateObject(19477, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
    SetObjectMaterialText(fbtxt, "Politia Rutiera", 0, OBJECT_MATERIAL_SIZE_256x128, "Comic Sans MS", 25, 1, 0xFFFFFFFF, 0, 1);
    AttachObjectToVehicle(fbtxt, RUTT[32], -1.11, 0.50, -0.12, 180.0, 180.0, 0.0);

asta e codul. si vreau sa-l adaptez...sa fie mai ok pus. + ca o sa bag ,mai multe masini si etc etc

Mai pe scurt...nu pe toate masinile v-a arata asa....dat fiind ca difera modelul...si eu vreau sa-l adaptez si pt alte  tipuri

Edited by FOCA
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.