02/10/2023 15:54
(Esta mensagem foi modificada pela última vez a: 02/10/2023 15:57 por L10motos.)
(02/10/2023 15:52)leonardos08bt Escreveu: Atualizei a imagem. Bom, em questão da Key shift: existe a key "LSHIFT" que é representada pela define "KEY_JUMP".
Essa existe no SA-MP Mobile? Por que fiz um sistema de render outro jogador mirando uma arma e apertando a tecla Shift, mais não sei se existe no mobile, entendeu?
Código:
if(newkeys == 160 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) //KEY usada para render o jogador mirando
{
if(GetPlayerSpecialAction(targetid) != SPECIAL_ACTION_HANDSUP)
{
SetPlayerSpecialActionEx(targetid, SPECIAL_ACTION_HANDSUP);