Quote:
Originally Posted by paulor
Interessante!
@Edit
Eu creio que poderia bugar isso.
pawn Code:
public OnPlayerDisconnect(playerid, reason) { KillTimer(_timerp[playerid]); if(funcidx("lamh_OnPlayerDisconnect") != -1) { return CallLocalFunction("lamh_OnPlayerDisconnect", "i", playerid); } return 1; } #if defined _ALS_OnPlayerDisconnect #undef OnPlayerDisconnect #else #define _ALS_OnPlayerDisconnect #endif #define OnPlayerDisconnect lamh_OnPlayerDisconnect forward lamh_OnPlayerDisconnect(playerid);
mas aqui tbm compila de boa, tente testar usando outro FS ouGM
pois vc define OnPlayerDisconnect para lamh_OnPlayerDisconnect, sendo que lamh_OnPlayerDisconnect nгo possui os msm parametros do OnPlayerDisconnect. O correto seria.
pawn Code:
public OnPlayerDisconnect(playerid, reason) { KillTimer(_timerp[playerid]); if(funcidx("lamh_OnPlayerDisconnect") != -1) { return CallLocalFunction("lamh_OnPlayerDisconnect", "ii", playerid, reason); } return 1; } #if defined _ALS_OnPlayerDisconnect #undef OnPlayerDisconnect #else #define _ALS_OnPlayerDisconnect #endif #define OnPlayerDisconnect lamh_OnPlayerDisconnect forward lamh_OnPlayerDisconnect(playerid, reason);
|
nossa passou despercebido, obrigado por avisar, vou editar ali
@Alisson
tente simplesmente deixar toda essa parte como comentбrio
pawn Code:
/*
ANTI MONEY HACK
BY LUCAS_ALEMAO
OU
[iPs]Lucas
#if defined _lamh_included
#endinput
#endif
#define _lamh_included
#pragma library lamh*/