SA-MP Forums Archive
[DUV] SetPlayerFightingStyle .-. - 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: [DUV] SetPlayerFightingStyle .-. (/showthread.php?tid=108037)



[DUV] SetPlayerFightingStyle .-. - Kutrhys - 12.11.2009

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;
}



Re: [DUV] SetPlayerFightingStyle .-. - [VGS]Protioso - 12.11.2009

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.


Re: [DUV] SetPlayerFightingStyle .-. - Kutrhys - 12.11.2009

Eu sou um otбrio

Funcionou mesmo!

Brigadao vei!


Re: [DUV] SetPlayerFightingStyle .-. - [VGS]Protioso - 12.11.2009

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 ;~~


Re: [DUV] SetPlayerFightingStyle .-. - Kutrhys - 12.11.2009

Hehe.

Meu primeiro comando do sa-mp 0.3a


Respuesta: [DUV] SetPlayerFightingStyle .-. - Adriano499 - 19.07.2010

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;
}





Re: [DUV] SetPlayerFightingStyle .-. - brundavid - 19.07.2010

ke um fs disso ja pronto ?