04.12.2015, 20:18
(
Последний раз редактировалось Leka74; 04.12.2015 в 23:33.
)
Any idea why I'm getting "----------------------------------" from the inputtext variable when trying to grab the password via the onDialogResponse event? It returns that no matter what I type in the input. (https://sampwiki.blast.hk/wiki/OnDialogResponse)
EDIT: Having the same problem with the onPlayerText event. text is always returned as the dashed line as mentioned above. Any idea why?
Here's the code:
EDIT: Having the same problem with the onPlayerText event. text is always returned as the dashed line as mentioned above. Any idea why?
Here's the code:
PHP код:
addEventHandler("onPlayerText", function(playerid, text)
sendPlayerMessageToAll(playerid, getPlayerName(playerid).." says: "..text);
end)