SA-MP Forums Archive
[Pedido] Procurado - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Pedido] Procurado (/showthread.php?tid=357911)



Procurado - ecko_style - 08.07.2012

Alguem poderia me passar o code e explicar como colocar ele . [Procurado][NiveldeProcura] eo novo /algemar com as mao para traz ! estou precizando muito desses 2


Re: Procurado - .FuneraL. - 08.07.2012

O Algemar seria estas duas funзхes dentro de um comando:

pawn Код:
SetPlayerAttachedObject(giveplayerid, 4, 19418, 6, -0.031999, 0.024000, -0.024000, -7.900000, -32.000011, -72.299987, 1.115998, 1.322000, 1.406000);
    SetPlayerSpecialAction(giveplayerid, SPECIAL_ACTION_CUFFED);



Re: Procurado - @Riichard - 08.07.2012

Conheзe o search? Muitos procuram isso/pedem ajuda.


Re: Procurado - Liba.Nakajima - 08.07.2012

Novo /algemar
Cуdigo pra por no comando de /algemar
pawn Код:
SetPlayerAttachedObject(giveplayerid,8,19418,6,-0.031999,0.024000,-0.024000,-7.900000,-32.000011,-72.299987,1.115998,1.322000,1.406000); //Isso cria um objeto de algema na mгo direito do player
//giveplayerid pode ser subistituido pelo o que vocк usa do que vai receber a aзгo
                            SetPlayerSpecialAction(giveplayerid, SPECIAL_ACTION_CUFFED);//Seta a animaзгo do player pra ficar com as mгos para tras
Para desalgemar:
pawn Код:
RemovePlayerAttachedObject(giveplayerid, 8);//remove o objeto do slot 8, no caso a algema
                                SetPlayerSpecialAction(giveplayerid, SPECIAL_ACTION_NONE);//Remove aanim
Explica esse [Procurado][NiveldeProcura]
Vocк quer um sistema inteiro explicado?


Re: Procurado - .FuneraL. - 08.07.2012

Quote:
Originally Posted by Liba.Nakajima
Посмотреть сообщение
Explica esse [Procurado][NiveldeProcura]
Vocк quer um sistema inteiro explicado?
Pelo que eu entendi, й isso mesmo.



Re: Procurado - Edu33 - 08.07.2012

https://sampwiki.blast.hk/wiki/SetPlayerWantedLevel - 1є

pawn Код:
if (strcmp(cmd, "/algemar", true) == 0)
{
    new diimenor;
    tmp = strtok(cmdtext, idx);
    diimenor = strval(tmp);
    if (!strlen(tmp)) return SendClientMessage(playerid, -1, "Digite: /algemar [ID do Jogador]");
    TogglePlayerControllable(diimenor, false);
    SetPlayerAttachedObject(diimenor, 4, 19418, 6, -0.031999, 0.024000, -0.024000, -7.900000, -32.000011, -72.299987, 1.115998, 1.322000, 1.406000);
    SetPlayerSpecialAction(diimenor, SPECIAL_ACTION_CUFFED);
    return true;
}

if (strcmp(cmd, "/desalgemar", true) == 0)
{
    new diimenor;
    tmp = strtok(cmdtext, idx);
    diimenor = strval(tmp);
    if (!strlen(tmp)) return SendClientMessage(playerid, -1, "Digite: /desalgemar [ID do Jogador]");
    TogglePlayerControllable(diimenor, true);
    ClearAnimations(diimenor);
    return true;
}
Crйditos: Diimenor


Re: Procurado - ecko_style - 08.07.2012

poise me ajudaram muito agora precizo do Procurado [ nivel]


Re: Procurado - ecko_style - 08.07.2012

EDU esse code esta Bugado .. o /desalgemar nao some a animaзao eo /algemar nao Pode andar !! Nem falar poderia Corrigi-lo o Erro disto ?


Re: Procurado - Maklister - 08.07.2012

vc deve adaptar o sistema conforme seu gamemode ecko
nao apenas ctrl = c ctrl = v