Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: VK.Jona83Killer on Oct 23, 2017, 03:49 PM

Title: Right Click Function?
Post by: VK.Jona83Killer on Oct 23, 2017, 03:49 PM
Hello, I need the right click function.
Someone could pass me? ;D
Title: Re: Right Click Function?
Post by: Xmair on Oct 23, 2017, 04:07 PM
Just bind the right click button
Title: Re: Right Click Function?
Post by: VK.Jona83Killer on Oct 23, 2017, 05:00 PM
Quote from: Xmair on Oct 23, 2017, 04:07 PMJust bind the right click button

lool xdxdxd
Title: Re: Right Click Function?
Post by: Xmair on Oct 24, 2017, 08:54 AM
KEYS <- {
rightClick = BindKey( true, 0x02 )
};

function onKeyDown( iPlayer, iKey )
{
switch( iKey )
{
case KEYS.rightClick:
{
MessagePlayer( "You realize what you've done?\nYou just pressed the right button on your mouse..", iPlayer );
}
break;
}
}
Title: Re: Right Click Function?
Post by: VK.Jona83Killer on Oct 24, 2017, 03:08 PM
Thanks Bro :)