These are chat archives for ikkentim/SampSharp

30th
Sep 2015
Tim Potze
@ikkentim
Sep 30 2015 06:29
What he said ^
You might also want to actually read the errors. They tell you axe fly what you're doing wrong
IvoRatinho
@IvoRatinho
Sep 30 2015 16:28
Thanks i did that already thanks! But now im with a problem, its possible to know what button a player clicked in the dialogs?? im using the OnDialogResponse, but its possible to see some examples?
Tim Potze
@ikkentim
Sep 30 2015 16:30
check out some of the example code
response.DialogButton contains the pressed button.
IvoRatinho
@IvoRatinho
Sep 30 2015 16:41
Thank you sir !!!!
IvoRatinho
@IvoRatinho
Sep 30 2015 20:30
sorry to bother again.. but in your work you have something to detect near players?
Tim Potze
@ikkentim
Sep 30 2015 20:38
No you'll have to write that yourself
IvoRatinho
@IvoRatinho
Sep 30 2015 21:40
so im exploring this, can you say if exists something to detect when a player talks in chat? i found about commands but they are used when we use "/"
Ahmed Mamdouh
@Ahmad45123
Sep 30 2015 21:42
OnPlayerText event is what you are probably looking for.
IDK how callbacks are handled in SAMPSharp tbh but I am pretty sure they are events.
IvoRatinho
@IvoRatinho
Sep 30 2015 22:15
yea my bad, i found it "BaseMode.OnPlayerText Method"