Added ragdoll module that removes ragdolls normally or with effects.

*Added log entries, fixed typo.
*Fixed some errors caused by disabling the weapons module.
*Replaced strcmp with StrEqual
This commit is contained in:
Greyscale
2009-06-07 21:05:50 -07:00
parent 208fe7fe28
commit d0c25862d8
14 changed files with 267 additions and 50 deletions

View File

@ -61,16 +61,23 @@ public ZRAdminMenuHandle(Handle:menu_admin, MenuAction:action, client, slot)
{
if (action == MenuAction_Select)
{
// Create variable to possible resend menu later.
new bool:resend = true;
switch(slot)
{
// Weapon management.
case 0:
{
WeaponsMenuMain(client);
resend = !WeaponsMenuMain(client);
}
}
// TODO: Resend menu if feature is disabled or unopenable.
// Re-send menu if selection failed.
if (resend)
{
ZRAdminMenu(client);
}
}
if (action == MenuAction_Cancel)