[HELP] Left-Right keys.
#1

Hi guys,

I have a little code but it has some little problem too.. Normally we are using ''NumPad'' for this script but some of my players are using laptops so they can not use it..

I just wanna change that script to normal 'Right and Left' keyboard arrows.. But it doenst work. I gonna lose my mind =) Can anyone help me ?

This is normal 'numpad' code.. I changed ''if(newkeys == KEY_ANALOG_LEFT)'' to if(newkeys == KEY_LEFT)'' bu its not working how can i fix it.. what do i need to do..

Код:
	if(PlayerInfo[playerid][PlayerBuyingSkin] == 1)
	{
	    if(newkeys == KEY_ANALOG_LEFT)
	    {
	        if(GetPlayerSkin(playerid) == 235)
	        {
                SetPlayerSkin(playerid, 202);
			}
	        else if(GetPlayerSkin(playerid) == 202)
	        {
                SetPlayerSkin(playerid, 135);
			}..............
Thanks.
Reply


Messages In This Thread
[HELP] Left-Right keys. - by Thedya - 26.01.2013, 13:54
Re: [HELP] Left-Right keys. - by Threshold - 26.01.2013, 13:59
Re: [HELP] Left-Right keys. - by Vince - 26.01.2013, 14:10
Re: [HELP] Left-Right keys. - by Thedya - 27.01.2013, 16:16

Forum Jump:


Users browsing this thread: 1 Guest(s)