[DUV] SetPlayerFightingStyle .-.
#1

Pessoal, eu mesmo FIZ esse comando, sу que tгo dando esse erro aqui(й um comando das novas includes do sa-mp, e eu tenho elas --')


error 017: undefined symbol "SetPlayerFightingStyle"
error 017: undefined symbol "SetPlayerFightingStyle"
error 017: undefined symbol "SetPlayerFightingStyle"
error 017: undefined symbol "SetPlayerFightingStyle"
error 017: undefined symbol "SetPlayerFightingStyle"
error 017: undefined symbol "SetPlayerFightingStyle"



Essas sгo as linhas

pawn Code:
if (strcmp(cmdtext, "/luta1", true) == 0)
{
  SetPlayerFightingStyle(playerid, FIGHT_STYLE_BOXING);
  SendClientMessage(playerid, COLOR_YELLOW, "Vocк mudou seu estilo de luta para Nє 1!");
  return 1;
}

if (strcmp(cmdtext, "/luta2", true) == 0)
{
  SetPlayerFightingStyle(playerid, FIGHT_STYLE_KUNGFU);
  SendClientMessage(playerid, COLOR_YELLOW, "Vocк mudou seu estilo de luta para Nє 2!");
  return 1;
}

if (strcmp(cmdtext, "/luta3", true) == 0)
{
  SetPlayerFightingStyle(playerid, FIGHT_STYLE_KNEEHEAD);
  SendClientMessage(playerid, COLOR_YELLOW, "Vocк mudou seu estilo de luta para Nє 3!");
  return 1;
}


if (strcmp(cmdtext, "/luta4", true) == 0)
{
  SetPlayerFightingStyle (playerid, FIGHT_STYLE_GRABKICK);
  SendClientMessage(playerid, COLOR_YELLOW, "Vocк mudou seu estilo de luta para Nє 4!");
  return 1;
}

if (strcmp(cmdtext, "/luta5", true) == 0)
{
  SetPlayerFightingStyle(playerid, FIGHT_STYLE_ELBOW);
  SendClientMessage(playerid, COLOR_YELLOW, "Vocк mudou seu estilo de luta para Nє 4!");
  return 1;
}

if (strcmp(cmdtext, "/lutanormal", true) == 0)
{
  SetPlayerFightingStyle(playerid, FIGHT_STYLE_BOXING);
  SendClientMessage(playerid, COLOR_YELLOW, "Vocк mudou seu estilo de luta para original.");
  return 1;
}
Reply
#2

Tem certeza que tб com os includes novos? Substitui pelos novos de novo sу pra ter certeza...
Se persistir manda desde o comeзo do public OnPlayerCommandText atй onde comeзa o erro.
Reply
#3

Eu sou um otбrio

Funcionou mesmo!

Brigadao vei!
Reply
#4

Quote:
Originally Posted by Kutrhys
Eu sou um otбrio

Funcionou mesmo!

Brigadao vei!
Que otбrio o que turta, distraзгo й o que mais acontece ;~~
Reply
#5

Hehe.

Meu primeiro comando do sa-mp 0.3a
Reply
#6

if (strcmp(cmdtext, "/luta1", true) == 0)
{
SetPlayerFightingStyle(playerid, FIGHT_STYLE_BOXING);
SendClientMessage(playerid, COLOR_YELLOW, "Vocк mudou seu estilo de luta para Nє 1!");
return 1;
}

if (strcmp(cmdtext, "/luta2", true) == 0)
{
SetPlayerFightingStyle(playerid, FIGHT_STYLE_KUNGFU);
SendClientMessage(playerid, COLOR_YELLOW, "Vocк mudou seu estilo de luta para Nє 2!");
return 1;
}

if (strcmp(cmdtext, "/luta3", true) == 0)
{
SetPlayerFightingStyle(playerid, FIGHT_STYLE_KNEEHEAD);
SendClientMessage(playerid, COLOR_YELLOW, "Vocк mudou seu estilo de luta para Nє 3!");
return 1;
}


if (strcmp(cmdtext, "/luta4", true) == 0)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_GRABKICK);
SendClientMessage(playerid, COLOR_YELLOW, "Vocк mudou seu estilo de luta para Nє 4!");
return 1;
}

if (strcmp(cmdtext, "/luta5", true) == 0)
{
SetPlayerFightingStyle(playerid, FIGHT_STYLE_ELBOW);
SendClientMessage(playerid, COLOR_YELLOW, "Vocк mudou seu estilo de luta para Nє 4!");
return 1;
}

if (strcmp(cmdtext, "/lutanormal", true) == 0)
{
SetPlayerFightingStyle(playerid, FIGHT_STYLE_BOXING);
SendClientMessage(playerid, COLOR_YELLOW, "Vocк mudou seu estilo de luta para original.");
return 1;
}


Reply
#7

ke um fs disso ja pronto ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)