I need help with this
#1

Like in MTA, there is a dialog shown when you press F5. Will it be possible if I can show a DIALOG_STYLE_MSGBOX when player press F5

EDIT : Can i use this ASCII code in sa-mp 00111111
Reply
#2

In the future - probably yes.
Now - nope.
Because you can't detect 'F5', you can only detect these keys.
Reply
#3

i think it's possible with American Standard Code for Information Interchange

EDIT : It would be possible when player press "K" key then the DIALOG_STYLE_MSGBOX will be shown
Reply
#4

I know what ASCII means.
Well, you can try, but as far as I know it's not possible.
Reply
#5

so who to put ascii code in pawno? I need the thing that when player press "K" key then it would showed up a "DIALOG_STYLE_MSGBOX"
Reply
#6

Quote:
Originally Posted by Steven Paul
Посмотреть сообщение
so who to put ascii code in pawno? I need the thing that when player press "K" key then it would showed up a "DIALOG_STYLE_MSGBOX"
As Alex said, "Impossible"
For now.
Reply
#7

I'm just gonna say to you - really hard.
And + I think client doesn't support your editing/remaking buttons. So...
What's wrong with using standard buttons?
I know there is now 'K' button but it's the only thing that you got left.
Reply
#8

Quote:
Originally Posted by Steven Paul
Посмотреть сообщение
so who to put ascii code in pawno? I need the thing that when player press "K" key then it would showed up a "DIALOG_STYLE_MSGBOX"
Something you should understand PAWN isn't just used for sa-mp and not being able to check for other buttons is completely sa-mp related. It wouldn't be a very good language if it didn't support at least one full charachter set. The callback "OnPlayerKeyStateChange" is only called when one of the watched keys is pressed. Other keys exist in PAWN they are just not used by sa-mp.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)