KEY_LOOK_BEHIND
#1

Why this:
pawn Код:
if(GetPlayerState(targetid) == PLAYER_STATE_ONFOOT) GameTextForPlayer(targetid,"~b~An Officer Has Issued You A Ticket~n~~w~Press ~b~~k~~PED_LOOKBEHIND~ ~w~Or Type ~b~/pay ~w~To Pay The Ticket",7000,5);
returns this:


Why it returns a Star instead of MMB as default key??
Reply
#2

Have you tried other keys? Such as ~k~~CONVERSATION_YES~
Reply
#3

everything is working except this special key. maybe cuz it has a 'cross' near it in the wiki (Value: 320✝)

Wiki: [✝] This value is the sum of KEY_LOOK_LEFT and KEY_LOOK_RIGHT.
https://sampwiki.blast.hk/wiki/Keys
Reply
#4

just type press MMB
Reply
#5

Quote:
Originally Posted by Ihateyou
Посмотреть сообщение
just type press MMB
lol wtf? this is not a solution.
Reply
#6

I've tried your code and it shows MMB for me, there's no star. What @Ihateyou meant is that if it's impossible for you to make it work, just do it manually like:

pawn Код:
if(GetPlayerState(targetid) == PLAYER_STATE_ONFOOT) GameTextForPlayer(targetid,"~b~An Officer Has Issued You A Ticket~n~~w~Press ~b~MMB ~w~Or Type ~b~/pay ~w~To Pay The Ticket",7000,5);
Reply
#7

I don't want to set it manually, some players don't have MMB for the "Look Behind Key"
How it worked for ya? what did you do ?
Reply
#8

Quote:
Originally Posted by Juvanii
Посмотреть сообщение
I don't want to set it manually, some players don't have MMB for the "Look Behind Key"
How it worked for ya? what did you do ?
I did copy your code and pasted it into my script. Maybe you don't have MMB and it doesn't work for you then?
Reply
#9

Quote:
Originally Posted by Cypress
Посмотреть сообщение
Maybe you don't have MMB and it doesn't work for you then?
I'm really dumb, lol yea that's why!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)