[DUV] AMX to pawn - 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] AMX to pawn (
/showthread.php?tid=136231)
[DUV] AMX to pawn -
Bruno da Silva - 24.03.2010
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);
"
"
Entao ocorre o erro
Quote:
error 017: undefined symbol "function31C"
|
Re: [DUV] AMX to pawn -
andmeida10 - 24.03.2010
muda isso do function38C para ApplyAnimation
Re: [DUV] AMX to pawn -
RoamPT - 24.03.2010
Porque isso nem sempre converte correctamente, vem sempre com erros.
Re: [DUV] AMX to pawn -
Bruno da Silva - 24.03.2010
como concertar esse tais "erros"
Re: [DUV] AMX to pawn -
SlashPT - 24.03.2010
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;
}