register_plugin returns id

This commit is contained in:
David Anderson 2006-04-17 12:57:52 +00:00
parent 0a66780727
commit 82a739a95e

View File

@ -1032,7 +1032,7 @@ static cell AMX_NATIVE_CALL register_plugin(AMX *amx, cell *params) /* 3 param *
a->setVersion(vers);
a->setAuthor(author);
return 1;
return a->getId();
}
static cell AMX_NATIVE_CALL register_menucmd(AMX *amx, cell *params) /* 3 param */