[ajuda]Colocando Para Equipar e Entrar em interiores com o F
#3

u..u, modifique assim:
Esse, vamos supor, й seu /equipar:
pawn Код:
if(strcmp(cmd, "/equiparmafia", true) == 0){
    if(PlayerToPoint(10.0, playerid,1456.3518,2773.5208,10.8203) || PlayerToPoint(10.0, playerid,1455.6251,750.5919,11.0234) || PlayerToPoint(10.0, playerid,2019.3403,1007.5106,10.8203) || PlayerToPoint(10.0, playerid,2196.5928,1676.8652,12.3672))
            {
            if(PlayerInfo[playerid][pMember] == 1)//cargo 1
            //Seu Equipar.
            return 1;
            }
    }
Deixe Assim no
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
:

pawn Код:
if ((newkeys==KEY_ACTION))
    {
    if(PlayerToPoint(10.0, playerid,1456.3518,2773.5208,10.8203) || PlayerToPoint(10.0, playerid,1455.6251,750.5919,11.0234) || PlayerToPoint(10.0, playerid,2019.3403,1007.5106,10.8203) || PlayerToPoint(10.0, playerid,2196.5928,1676.8652,12.3672))
            {
            if(PlayerInfo[playerid][pMember] == 1)//cargo 1
            //Seu Equipar.
            return 1;
            }
        }
    }
EDIT:
Para interiores, faзa parecido. Eu jб dei as ferramentas, agora, sу vc fazer.
Mais ou menos isso. Se tiver errado, fale..
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)