Help me!!! - KEY_WALK does not operate vehicle
#1

Hi, help me!

If indents at that time I operate on foot and the KEY_WALK,. If indents I do not operate vehicle and the KEY_WALK.

source:
<source deleted.>
Already does not load vehicle the position

The KEY_WALK means according to me other nemtudom you are vehicle

help me!
Reply
#2

What's the problem?
And use pawn tags.
Reply
#3

Problem:

I Press ctrl+alt on foot = position successfully loaded.

I Press ctrl+alt in vehicle = position loaded failed

on account of alt (KEY_WALK)
Reply
#4

I'm looking at the code right now, why did you quote the code? Use pawn tags
pawn Код:
[pawn]
[/pawn]
But nothing in your code disables the code when you inside a vehicle.
Reply
#5

<source deleted.>
Reply
#6

Maybe try this.


pawn Код:
#define CTRL_ALT  KEY_WALK
Reply
#7



ctrl(KEY_FIRE)+alt(KEY_WALK) = Load Pos. On foot sucesully. In vehicle fail load pos.
|
ˇ
pawn Код:
#define CTRL_ALT (KEY_FIRE/*Ctrl*/|KEY_WALK/*Alt*/)
Reply
#8

https://sampwiki.blast.hk/wiki/GetPlayerKeys#Key_List

Quote:
Originally Posted by wiki
Define | Value | Gametext-Key on Foot | Gametext-Key in Vehicle
KEY_WALK | 1024 | ~k~~SNEAK_ABOUT~ | -
Reply
#9

Define | Value | Gametext-Key on Foot | Gametext-Key in Vehicle
KEY_WALK | 1024 | ~k~~SNEAK_ABOUT~ | -

Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)