how to attach 3d text label to all cars in my mode?
#7

Quote:
Originally Posted by Hansrutger
Посмотреть сообщение
Loop through all vehicles and use preferably a streamer (****** 'samp streamer plugin') and add a text label to them by attaching them to the vehicle:
Код:
native STREAMER_TAG_3D_TEXT_LABEL CreateDynamic3DTextLabel(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_3D_TEXT_LABEL_SD, STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1, priority = 0);
On .attachedvehicle you place the vehicle id. Also do this everytime you spawn a new car anywhere in the script. Do not forget to remove the 3D text label once you decide to somehow destroy/delete a vehicle. You cannot use only 1 3D Text Label creation to magically be on every single vehicle, as Abagail indirectly indicated above.
I didn't use pawn for around 3 years , I didn't understood what you said that well.
Can you send me the codes and explain me what every code does? thanks.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)