Open Vecprogramador opened 6 months ago
Só deve utilizar as chamadas de retorno do plugin. Se tiver ganchos, deve também adaptá-los às chamadas de retorno do plugin.
então eu devo adaptar todo o sistema da da gamemode com "textid"? e tipo quando for add o plugin da serve.cfg, tem preferencia de add o plugin atraz de algum outro? e quando eu mudo a hook, OnPlayerClickPlayerTD(playerid, PlayerText:playertextid) para OnClickDynamicPlayerTextDraw(playerid, PlayerText:textid) e da uma viso warning 200: symbol "@yH_OnClickDynamicPlayerTextDra" is truncated to 31 characters. isso na hook.
Utilizar abreviaturas:
DEFINE_HOOK_REPLACEMENT__(Dynamic, Dyn);
hook OnClickDynPlayerTextDraw(playerid, PlayerText:textid)
{
return 0;
}
olha ai cara eu abreviei a callbcak, e mesmo assim o sistema de inventario esta bugado, por exemplo quando clico em próximo sai da textdraw mais ela não some da tela e quando clico no X ele não faz nada.
Tenho dificuldade em traduzir a sua língua, pode explicar em pormenor em inglês?
Look man, I abbreviated callbcak, and even so the inventory system is bugged, for example when I click on next the textdraw leaves but it doesn't disappear from the screen and when I click on the X it doesn't do anything. That's what I said at the bottom of the image, and not to mention that when I click on the object it shows in the Preview_Model on the right side above the user "VITOLO-PL#0376" Call me on discord if you have it, please I really need to correct it and use your plugin
Do you already know what the problem could be?
You can write in your own language, I use Google Translate
I don't quite understand your problem yet. Are the textdraws not showing properly? Or are you having problems with hooking callbacks and forwarded IDs?
they are not being displayed correctly and it is also not working as it should, in the photo above the inventory before using the plugin worked correctly, now it is not working as it should
I think there is a problem with the plugin. Most people say it doesn't display properly. Add me on discord and let's solve the bug. Discord: benburakya
I sent you the friend request I'm veczinho tv with the green profile photo
então amigo vou explicar, eu baixei e instalei o plugin corretamente na gamemode, mais tenho algumas duvidas pois as textdraw funcionou mais ficou bugadas, como por exemplo, alguns botões da textdraw não funciona e alguns até mesmo trocaram de função, e as previl model ficou bugada, agora vai as duvidas, as callbacks que precisa mudar é.
public OnPlayerClickTextDraw(playerid, Text:clickedid), para public OnClickDynamicTextDraw(playerid, Text:textid) e mudar a public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid) para public OnClickDynamicPlayerTextDraw(playerid, PlayerText:textid) certo? e tipo como é uma gamemode que ja tem muitos sistemas sé eu mudar o "Text:clickedid e o PlayerText:playertextid para, textid" vai dar algum problema, e sé eu mudar devo fazer isso em todo o sistema que usa Text:clickedid e o PlayerText:playertextid da gamemode?
e com respeito as hooks? eu uso essas mesmas callbacks em hook eu devo fazer as alterações nessas callbakcs também mudando de hook OnPlayerClickTextDraw(playerid, Text:clickedid), para hook OnClickDynamicTextDraw(playerid, Text:textid) e assim por diante?