Text on vehicles
#1

Hello Everyone!

I'm quite new to scripting on SAMP and have a quick question. If i wanted to attach text to a vehicle, what steps would i have to take? Im looking to add the word SHERIFF on a few of my faction vehicles. Does my sql database affect anything?

This is what im attempting to make it look like: http://i.imgur.com/I4AAMqd.jpg ((Did it in Texture Studios, dont actually know how to get those coordinates or attach it))

Thank you!
Reply
#2

Quote:
Originally Posted by ShockGaming
Посмотреть сообщение
Hello Everyone!

I'm quite new to scripting on SAMP and have a quick question. If i wanted to attach text to a vehicle, what steps would i have to take? Im looking to add the word SHERIFF on a few of my faction vehicles. Does my sql database affect anything?

This is what im attempting to make it look like: http://i.imgur.com/I4AAMqd.jpg ((Did it in Texture Studios, dont actually know how to get those coordinates or attach it))

Thank you!
View this
https://sampforum.blast.hk/showthread.php?tid=624101
Reply
#3

Quote:
Originally Posted by Loinal
Посмотреть сообщение
Alright, got that down and the script exported, in my roleplay script i would like to only attach it to 1 vehicle, how would that be done?
Reply
#4

Quote:
Originally Posted by ShockGaming
Посмотреть сообщение
Alright, got that down and the script exported, in my roleplay script i would like to only attach it to 1 vehicle, how would that be done?
Type /dmc then you will find text on vehicle
Reply
#5

Learn about those:
CreateObject ( must be CreateDynamicObject )
SetObjectMaterialText ( must be SetDynamicObjectMaterialText )
AttachDynamicObjectToVehicle ( needs streamer )
use them after creating a car, so it will always have that text
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)