Skip to content

Commit f27b79a

Browse files
authored
Merge pull request #42 from aujiz11/aujiz11/v2.0.0
[Fixed] DynPlayerTextDrawSetPreviewModel & DynPlayerTextDrawSetSelect…
2 parents 009681f + c2851ff commit f27b79a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/natives_player.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ cell AMX_NATIVE_CALL Natives::DynamicPlayerTextDrawSetSelectable(AMX* amx, cell*
613613
it->second->selectable = selectable;
614614

615615
if (it->second->real_id != INVALID_DYNAMIC_PLAYER_TEXTDRAW) {
616-
PlayerTextDrawSetProportional(playerid, it->second->real_id, it->second->selectable);
616+
PlayerTextDrawSetSelectable(playerid, it->second->real_id, it->second->selectable);
617617
}
618618

619619
return 1;
@@ -841,7 +841,7 @@ cell AMX_NATIVE_CALL Natives::DynamicPlayerTextDrawSetPreviewModel(AMX* amx, cel
841841
it->second->modelindex = model;
842842

843843
if (it->second->real_id != INVALID_DYNAMIC_PLAYER_TEXTDRAW) {
844-
PlayerTextDrawSetProportional(playerid, it->second->real_id, it->second->modelindex);
844+
PlayerTextDrawSetPreviewModel(playerid, it->second->real_id, it->second->modelindex);
845845
}
846846

847847
return 1;

0 commit comments

Comments
 (0)