KeyBoard Script Help
#6

moving the object with keys isnt necessary since 0.3
You can get the front vector * distance and update the position of the object each 100 ms

Moving something with keys is only needed with things which arent in the world like textdraws, in my opinion

But if you are still interested

Click the link AK47317 provided and scroll up to the GetPlayerKeys function

You will notice the parameter updown and leftright, example included

Quote:
Originally Posted by [ProX]BlueFire
Посмотреть сообщение
P.S.
How I Enable/Disable Cmds?
i mean like you using The Cmd /heal and this cmd will disable in dm zones how i do thet?
pawn Код:
//somewhere above
new
    bool: IsPlayerInDM[MAX_PLAYERS];
pawn Код:
//InYour deathmatch command
IsPlayerInDM[playerid] = true;
pawn Код:
//In your heal command
if(IsPlayerInDM[playerid] == true) {
    return 0;
}
pawn Код:
//If the player leave the deathmatch, maybe OnPlayerDeath
IsPlayerInDM[playerid] = false;
Reply


Messages In This Thread
KeyBoard Script Help - by [ProX]BlueFire - 13.03.2011, 15:09
Re: KeyBoard Script Help - by Medal Of Honor team - 13.03.2011, 17:57
Re: KeyBoard Script Help - by Meinstad - 13.03.2011, 18:00
Re: KeyBoard Script Help - by [ProX]BlueFire - 13.03.2011, 18:40
Re: KeyBoard Script Help - by AK47317 - 15.03.2011, 14:05
AW: KeyBoard Script Help - by Nero_3D - 15.03.2011, 14:31
Re: KeyBoard Script Help - by [ProX]BlueFire - 18.03.2011, 17:54
AW: Re: KeyBoard Script Help - by Nero_3D - 18.03.2011, 23:33
Re: KeyBoard Script Help - by [ProX]BlueFire - 19.03.2011, 15:55
Re: KeyBoard Script Help - by [ProX]BlueFire - 19.03.2011, 15:57

Forum Jump:


Users browsing this thread: 1 Guest(s)