01.04.2012, 02:56
...consegue entender isso?
meu sv crasho por o seguinte log:
obs.: a primeira diretiva, obviamente eu sei...
as outras eu nгo faзo idйia =\
PHP код:
//formated message
#define scm(%0,%1,%2) SendClientMessage(%0,%1,%2)
scmf(playerid,color,fstring[],{Float, _}:...)
{
new n=(numargs()-3)*4;
if(n)
{
new message[255],arg_start,arg_end;
#emit CONST.alt fstring
#emit LCTRL 5
#emit ADD
#emit STOR.S.pri arg_start
#emit LOAD.S.alt n
#emit ADD
#emit STOR.S.pri arg_end
do
{
#emit LOAD.I
#emit PUSH.pri
arg_end-=4;
#emit LOAD.S.pri arg_end
}
while(arg_end>arg_start);
#emit PUSH.S fstring
#emit PUSH.C 255
#emit PUSH.ADR message
n+=4*3;
#emit PUSH.S n
#emit SYSREQ.C format
n+=4;
#emit LCTRL 4
#emit LOAD.S.alt n
#emit ADD
#emit SCTRL 4
return scm(playerid,color,message);
}
else
return scm(playerid,color,fstring);
}
Quote:
[31/03/12 23:01:02] [debug] Server crashed while executing bowling.amx [31/03/12 23:01:02] [debug] Backtrace (most recent call first): [31/03/12 23:01:02] [debug] #0 ?? in native format () from samp-server.exe [31/03/12 23:01:02] [debug] #1 000485bc in scmf (playerid=10, color=-1321978710, fstring[]=@0x00072d94 "{FFFFFF}Voc") at C:\BSL\BSL 2.1\filterscripts\bowling.pwn:2517 [31/03/12 23:01:02] [debug] #2 00044cbc in public OnDialogResponse (playerid=10, dialogid=-1321978710, response=470420, listitem=180344, inputtext[]=@0x000772bc "") at C:\BSL\BSL 2.1\filterscripts\bowling.pwn:2187 |
as outras eu nгo faзo idйia =\