02.08.2013, 10:00
Quote:
I'm using it and it's perfect! Thanks for that.
Was SetTimerEx replaced too? |
Код:
PLUGIN_EXPORT int PLUGIN_CALL AmxLoad(AMX *amx) { amx_Redirect(amx, "SetTimer", (ucell) Natives::SetTimer, NULL); amx_Redirect(amx, "SetTimerEx", (ucell) Natives::SetTimerEx, NULL); amx_Redirect(amx, "KillTimer", (ucell) Natives::KillTimer, NULL); amx_Redirect(amx, "GetTickCount", (ucell) Natives::GetTickCount, NULL); return amx_Register(amx, NATIVES, -1); }