[Pedido] Sistema de Click No mause
#7

Quote:
Originally Posted by JuninTJF
Посмотреть сообщение
Pode aprimorar esse cуdigo ? deixando com a KEY do click no mause ?

if(newkeys == KEY_SECONDARY_ATTACK)
{
new Float:POSPLAYER[3];
GetPlayerPos(playerid, POSPLAYER[0], POSPLAYER[1], POSPLAYER[2];
SetPlayerPos(playerid, POSPLAYER[0], POSPLAYER[1], POSPLAYER[2] + 2);
}
}
pawn Код:
if(newkeys == KEY_FIRE && oldkeys == KEY_FIRE)
    {
 new Float:POSPLAYER[3];
 GetPlayerPos(playerid, POSPLAYER[0], POSPLAYER[1], POSPLAYER[2];
 SetPlayerPos(playerid, POSPLAYER[0], POSPLAYER[1], POSPLAYER[2] + 2);
        }
Lembre-se que isso vai dar alguns bugs pois nгo estб fazendo verificaзхes se o player estб no chгo ou algo assim.....
Reply


Messages In This Thread
Sistema de Click No mause - by JuninTJF - 18.10.2014, 23:52
Re: Sistema de Click No mause - by focaximubh - 18.10.2014, 23:54
Re: Sistema de Click No mause - by JuninTJF - 19.10.2014, 00:01
Re: Sistema de Click No mause - by CLANdok - 19.10.2014, 00:01
Re: Sistema de Click No mause - by focaximubh - 19.10.2014, 00:05
Re: Sistema de Click No mause - by JuninTJF - 19.10.2014, 00:09
Re: Sistema de Click No mause - by focaximubh - 19.10.2014, 00:12
Re: Sistema de Click No mause - by JuninTJF - 19.10.2014, 00:46
Re: Sistema de Click No mause - by focaximubh - 19.10.2014, 03:31
Re: Sistema de Click No mause - by JuninTJF - 25.10.2014, 23:23

Forum Jump:


Users browsing this thread: 1 Guest(s)