[Ajuda] Callbeck Chamada Ao Ataca(EXPLICO MELHOR)
#1

Olб Boa

Eu Aqui Denovo KKK, Hoje queria devenvolver Um anti-cheat. Queria Saber qual callbeck й chamada quando um player da, por exemplo uma faca, que nгo necesariamente seja em alguem ou algo mais sim no ar


IMAGEM PIC CHAMATIVA

Reply
#2

Cara use a OnPlayerUpdate, Eu Acho melhor criar um Timer, e nesse timer verificar as aзхes que o Player Faz.
Reply
#3

https://sampwiki.blast.hk/wiki/OnPlayerUpdate
Reply
#4

https://sampwiki.blast.hk/wiki/OnPlayerUpdate
https://sampwiki.blast.hk/wiki/GetPlayerWeapon
https://sampwiki.blast.hk/wiki/GetPlayerWeaponState
Reply
#5

PHP код:
public OnPlayerUpdate(playerid)
{
    switch(
GetPlayerAnimationIndex(playerid))
    {
        case 
749750751754:
        {
            
//deu uma facada
        
}
    }
    return 
1;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)