@@ -88,8 +88,29 @@ vector<AMX_NATIVE_INFO> Nativeler
88
88
{ " PTextSetString" , Natives::PTextSetString},
89
89
{ " PTextPreviewModel" , Natives::PTextPreviewModel},
90
90
{ " PTextPreviewRot" , Natives::PTextPreviewRot},
91
- { " PTextPreviewVehCol" , Natives::PTextPreviewVehCol}
91
+ { " PTextPreviewVehCol" , Natives::PTextPreviewVehCol},
92
92
93
+ // Veri Okuma
94
+ { " IsValidPlayerTextDraw" , Natives::IsValidPlayerTextDraw},
95
+ { " IsPlayerTextDrawVisible" , Natives::IsPlayerTextDrawVisible},
96
+ { " PlayerTextDrawGetString" , Natives::PlayerTextDrawGetString},
97
+ { " PlayerTextDrawSetPos" , Natives::PlayerTextDrawSetPos},
98
+ { " PlayerTextDrawGetLetterSize" , Natives::PlayerTextDrawGetLetterSize},
99
+ { " PlayerTextDrawGetTextSize" , Natives::PlayerTextDrawGetTextSize},
100
+ { " PlayerTextDrawGetPos" , Natives::PlayerTextDrawGetPos},
101
+ { " PlayerTextDrawGetColor" , Natives::PlayerTextDrawGetColor},
102
+ { " PlayerTextDrawGetBoxColor" , Natives::PlayerTextDrawGetBoxColor},
103
+ { " PlayerTextDrawGetBackgroundCol" , Natives::PlayerTextDrawGetBackgroundCol},
104
+ { " PlayerTextDrawGetShadow" , Natives::PlayerTextDrawGetShadow},
105
+ { " PlayerTextDrawGetOutline" , Natives::PlayerTextDrawGetOutline},
106
+ { " PlayerTextDrawGetFont" , Natives::PlayerTextDrawGetFont},
107
+ { " PlayerTextDrawIsBox" , Natives::PlayerTextDrawIsBox},
108
+ { " PlayerTextDrawIsProportional" , Natives::PlayerTextDrawIsProportional},
109
+ { " PlayerTextDrawIsSelectable" , Natives::PlayerTextDrawIsSelectable},
110
+ { " PlayerTextDrawGetAlignment" , Natives::PlayerTextDrawGetAlignment},
111
+ { " PlayerTextDrawGetPreviewModel" , Natives::PlayerTextDrawGetPreviewModel},
112
+ { " PlayerTextDrawGetPreviewRot" , Natives::PlayerTextDrawGetPreviewRot},
113
+ { " PlayerTextDrawGetPreviewVehCol" , Natives::PlayerTextDrawGetPreviewVehCol}
93
114
};
94
115
95
116
PLUGIN_EXPORT int PLUGIN_CALL AmxLoad (AMX* amx)
@@ -125,12 +146,29 @@ PLUGIN_EXPORT bool PLUGIN_CALL OnPlayerClickPlayerTextDraw(int playerid, int tex
125
146
int idx;
126
147
for (std::set<AMX*>::iterator j = global_Amx.begin (); j != global_Amx.end (); j++)
127
148
{
149
+ // Default
128
150
if (!amx_FindPublic (*j, " ClickDynamicPlayerTextdraw" , &idx))
129
151
{
130
152
amx_Push (*j, p->first );
131
153
amx_Push (*j, playerid);
132
154
amx_Exec (*j, NULL , idx);
133
155
}
156
+
157
+ // Name suggestion: Fairuz
158
+ if (!amx_FindPublic (*j, " OnPlayerClickDynamicTextdraw" , &idx))
159
+ {
160
+ amx_Push (*j, p->first );
161
+ amx_Push (*j, playerid);
162
+ amx_Exec (*j, NULL , idx);
163
+ }
164
+
165
+ // Name suggestion: Kursed
166
+ if (!amx_FindPublic (*j, " OnDynamicPlayerTextdrawClicked" , &idx))
167
+ {
168
+ amx_Push (*j, p->first );
169
+ amx_Push (*j, playerid);
170
+ amx_Exec (*j, NULL , idx);
171
+ }
134
172
}
135
173
break ;
136
174
}
0 commit comments