How to draw pictures on objects
#1

Hello everyone. I saw on many videos people drawing stuff on objects using the SetObjectMaterialText function. I found something about webdings. But I still don't understand what are they and how to use them to make objects look cooler.
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=521365

SA:MP Art

this plugin (its like an app !) use setobject matterial text
conver an image with this and check code
Reply
#3

I already saw that. Even though it's cool but that is not what I need. I want to do something like this for example
Reply
#4

Bump.
Reply
#5

Fire up "charmap.exe", set it to Webdings and find the symbol you need:



Take note of the char code at the bottom. Now go to this site and find the char code in the table: http://www.tamasoft.co.jp/en/general-info/webdings.html
In this case our char code is 9A so we pick column 9 and go down to A, which brings us to "љ". This is the character you'll have to input in your Pawn script to get the desired symbol for SetObjectMaterialText.

pawn Code:
SetObjectMaterialText(objectid, "љ", .fontface = "Webdings")
You will want to attach the object to the vehicle before setting the material, though. Use one of those planes that were added in 0.3e as a drawing board. If remember correctly, plane002 (model 19476) is a good size.
Reply
#6

Thanks +repped.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)