SA-MP Forums Archive
Help me!!! - KEY_WALK does not operate vehicle - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help me!!! - KEY_WALK does not operate vehicle (/showthread.php?tid=70039)



Help me!!! - KEY_WALK does not operate vehicle - illay - 22.03.2009

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!


Re: Help me!!! - MenaceX^ - 22.03.2009

What's the problem?
And use pawn tags.


Re: Help me!!! - KEY_WALK does not operate vehicle - illay - 22.03.2009

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)


Re: Help me!!! - KEY_WALK does not operate vehicle - MenaceX^ - 22.03.2009

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.


Re: Help me!!! - KEY_WALK does not operate vehicle - illay - 22.03.2009

<source deleted.>


Re: Help me!!! - KEY_WALK does not operate vehicle - MenaceX^ - 22.03.2009

Maybe try this.


pawn Код:
#define CTRL_ALT  KEY_WALK



Re: Help me!!! - KEY_WALK does not operate vehicle - illay - 22.03.2009



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*/)



Re: Help me!!! - KEY_WALK does not operate vehicle - pen_theGun - 22.03.2009

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~ | -



Re: Help me!!! - KEY_WALK does not operate vehicle - illay - 22.03.2009

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

Thanks