13.08.2016, 12:06
(
Последний раз редактировалось Locky_; 13.08.2016 в 15:58.
)
I'm having problems with include. By setting a dialog after displaying a dialog of PREVMODEL, it seems that crashes function, and TextDraw are not deleted.
Example
Other errors ...
In the transition from one to another, ends up happening this problem. http://pastebin.com/WM1AHe27
---
Fix: http://pastebin.com/DdfZF4Ey
Can you fix the problem that happened to me ... You'll notice differences in OnPlayerClickTextDraw and OnPlayerClickPlayerTextDraw. Also in some 'hooks' ...
Also changed CallRemoteFunction by CallLocalFunction
And I changed all the rods by static new (it was taking up too much space in the AMX).
The include is good, and I'm waiting for news and updates
Sorry for bad english, using the translator.
Example
Код:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_PREVMODEL, "Exemplo", "411\tCarros\n520\tAvies\n", "Selecionar", "Cancelar"); ... public OnDialogResponse listitem 0: ShowPlayerDialog(playerid, 2, DIALOG_STYLE_PREVMODEL_LIST, "Exemplo 2", 411\tInfernus\n560\tSultan\n434\tHotknife\n", "Selecionar", "Cancelar"); listitem 1: ShowPlayerDialog(playerid, 3, DIALOG_STYLE_PREVMODEL_LIST, "Exemplo 3", "520\tHydra\n425\tHunter\n", "Selecionar", "Cancelar");
Код:
pawno\include\dialogs.inc(763) : error 017: undefined symbol "p_DialogModelRot" pawno\include\dialogs.inc(763) : warning 215: expression has no effect pawno\include\dialogs.inc(763) : error 001: expected token: ";", but found "]" pawno\include\dialogs.inc(763) : error 029: invalid expression, assumed zero pawno\include\dialogs.inc(763) : fatal error 107: too many error messages on one line
---
Fix: http://pastebin.com/DdfZF4Ey
Can you fix the problem that happened to me ... You'll notice differences in OnPlayerClickTextDraw and OnPlayerClickPlayerTextDraw. Also in some 'hooks' ...
Also changed CallRemoteFunction by CallLocalFunction
And I changed all the rods by static new (it was taking up too much space in the AMX).
The include is good, and I'm waiting for news and updates

Sorry for bad english, using the translator.