SA-MP Forums Archive
Ayuda antichea - 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: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Ayuda antichea (/showthread.php?tid=270651)



Ayuda antichea - Magnetto - 21.07.2011

Sucede lo siguiente mi gm tiene un anticheat de dinero pero cuando pongo "GivePlayerMoney(playerid,500);" interpreta ese dinero como cheat y te lo quita xD
Osea te lo da pero te lo quita al segundo.


Respuesta: Ayuda antichea - Code8976Man - 21.07.2011

No sй cual serб tu anticheat, pero la funciуn se a de modificar para que sea compatible con el anticheat. Alomejor el tuyo trae alguna funciуn, si no crйala tu seria algo asн:

pawn Код:
GivePlayerMoneyEx(playerid, amount)
{
    Variable[playerid] += amount,
    GivePlayerMoney(playerid, amount);
   
}
La variable debe ser la que almacene el dinero recibio por el script y que posteriormente serб revisada por un timer, el nombre ya lo mirбs tu. Entonces, ahora utiliza esta funciуn para dar dinero a los jugadores y que el anticheat te lo acepte.