17.11.2014, 01:50
Parabйns pelo Fs, +REP. Acho que seria melhor usar um arquivo separado para o FS em vez de usar o serverlog.
pawn Код:
printf("[%d]%sCreateObject(%d, %f, %f, %f, %f, %f, %f);", objectid, InUpdate[objectid] ? ("[RELEASE]") : (#), ObjectID[playerid], fX, fY, fZ, fRotX, fRotY, fRotZ);
pawn Код:
new File: robj = fopen("rObjetos.txt", io_append);
new stringobj[80];
format(stringobj, sizeof stringobj,
format("[%d]%sCreateObject(%d, %f, %f, %f, %f, %f, %f);\r\n", objectid, InUpdate[objectid] ? ("[RELEASE]") : (#), ObjectID[playerid], fX, fY, fZ, fRotX, fRotY, fRotZ);
fwrite(fobj, stringobj);
fclose(fobj);

