[DUV] AMX to pawn
#1

baixei um AMX da net e fui convertelo porem saiu tudo assim

Quote:

if(!strcmp("/deitar", cmdtext, true, 6))
{
function38C(playerid, "BEACH", "bather", 4.0, 1, 0, 0, 0, 0);
return 1;
}
if(!strcmp("/abaixar", cmdtext, true, 3))
{
function38C(playerid, "ped", "cower", 3.0, 1, 0, 0, 0, 0);
return 1;
}
if(!strcmp("/vomitar", cmdtext, true))
{
function31C(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0);
return 1;
}

function31C(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0);



"
Quote:

function31C

"
Entao ocorre o erro

Quote:

error 017: undefined symbol "function31C"


Reply
#2

muda isso do function38C para ApplyAnimation
Reply
#3

Porque isso nem sempre converte correctamente, vem sempre com erros.
Reply
#4

como concertar esse tais "erros"
Reply
#5

le caraзas...

pawn Код:
if(!strcmp("/deitar", cmdtext, true, 6))
  {
   ApplyAnimation(playerid, "BEACH", "bather", 4.0, 1, 0, 0, 0, 0);
   return 1;
  }
  if(!strcmp("/abaixar", cmdtext, true, 3))
  {
   ApplyAnimation(playerid, "ped", "cower", 3.0, 1, 0, 0, 0, 0);
   return 1;
  }
  if(!strcmp("/vomitar", cmdtext, true))
  {
   ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0);
   return 1;
  }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)