13.08.2016, 16:33
Quote:
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 Код:
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. |
Update v2.7.3:
- Fixed showing dialog right after under OnDialogResponse.
- Renamed Dialog_SetListModelRotation to Dialog_SetModelRot.
- Also the textdraws are now built on a base resolution of 1080p instead of 900p (because most people play on 1080p).