26.01.2013, 13:54
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..
Thanks.
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); }..............