Estilos de Luta
#1

Tipo galera eu quero fazer um comando que o cara digita e muda o seu estilo de luta mais quando eu crio e talz digito o comando o cara comeзa a danзar!
Код:
#define FIGHT_STYLE_BOXING      5
#define FIGHT_STYLE_KUNGFU      6
#define FIGHT_STYLE_KNEEHEAD     7
#define FIGHT_STYLE_GRABKICK     15
#define FIGHT_STYLE_ELBOW      16
os estilos sгo esses alguem me ajuda?
Reply
#2

GRABKICK e ELBOW nao sao estilos de luta sao so uma animacao tipo um soco mais nao serve pra nada, voce nao precisa dos Defines e so colocar tipo assim no OnPlayerCommandText.

pawn Код:
if (strcmp(cmdtext, "/Boxe", true)==0)
    {
    SetPlayerFightingStyle (playerid, FIGHT_STYLE_BOXING);
    return 1;
    }
    if (strcmp(cmdtext, "/KungFu", true)==0)
    {
    SetPlayerFightingStyle (playerid, FIGHT_STYLE_KUNGFU);
    return 1;
    }
    if (strcmp(cmdtext, "/KneeHead", true)==0)
    {
    SetPlayerFightingStyle (playerid, FIGHT_STYLE_KNEEHEAD);
    return 1;
    }
Reply
#3

e eu consigui fikei a manha toda pesquisando '-' coloquei pra 3 orgs vlw a todos que me ajudaram
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)