Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model Peview #71

Open
Disinterpreter opened this issue Oct 12, 2020 · 2 comments
Open

Model Peview #71

Disinterpreter opened this issue Oct 12, 2020 · 2 comments
Labels
compatibility Compatibility with latest version of SAMP function SAMP functions

Comments

@Disinterpreter
Copy link
Member

Function name
PlayerTextDrawSetPreviewModel(playerid, text[], modelindex)
PlayerTextDrawSetPreviewRot(playerid, PlayerText:text[], Float:fRotX, Float:fRotY, Float:fRotZ)
PlayerTextDrawSetPreviewVehCol(playerid, text[], color1, color2)

Describe the function
PlayerTextDrawSetPreviewModel - Sets a player textdraw 2D preview sprite of a specified model ID.
PlayerTextDrawSetPreviewRot - Sets the rotation and zoom of a 3D model preview player-textdraw.
PlayerTextDrawSetPreviewVehCol - Set the color of a vehicle in a player-textdraw model preview (if a vehicle is shown).

Equivalent in MTA
-

Additional information
https://www.open.mp/docs/scripting/functions/PlayerTextDrawSetPreviewModel
https://www.open.mp/docs/scripting/functions/PlayerTextDrawSetPreviewRot
https://www.open.mp/docs/scripting/functions/PlayerTextDrawSetPreviewVehCol

THERE AREN'T PREPARED IMAGES ONLY IN-GAME VISUALIZATION OF OBJECTS



@Disinterpreter Disinterpreter added function SAMP functions depends on blue The feature might depend on MTA:SA source code labels Oct 12, 2020
@Disinterpreter
Copy link
Member Author

Probably can be implemented via https://wiki.multitheftauto.com/wiki/Resource:Object_preview

@Disinterpreter Disinterpreter added compatibility Compatibility with latest version of SAMP and removed depends on blue The feature might depend on MTA:SA source code labels Oct 12, 2020
@colistro123
Copy link
Collaborator

This needs CFont in order to be 1:1. Lots of issues revolving SA-MP portability are mainly related to the lack of CFont in MTA. I will try to do my own implementation in Lua, but I really don't know what the chances are of it looking remotely similar to SA-MP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Compatibility with latest version of SAMP function SAMP functions
Projects
None yet
Development

No branches or pull requests

2 participants