mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-19 12:16:15 +08:00
[bot] Implement/match n_KillTimer(...)
* Implement/match `CScriptTimers::Kill(...)`
This commit is contained in:
@ -45,8 +45,9 @@ static cell AMX_NATIVE_CALL n_SetTimer(AMX *amx, cell *params)
|
||||
// native KillTimer(timerid)
|
||||
static cell AMX_NATIVE_CALL n_KillTimer(AMX *amx, cell *params)
|
||||
{
|
||||
// TODO: n_KillTimer
|
||||
return 0;
|
||||
pNetGame->GetTimers()->Kill(params[1]);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
// native GetTickCount()
|
||||
|
Reference in New Issue
Block a user