[SNIPPET] sm_forcertv - Edit of rockthevote.sp
1 Attachment(s)
This small code snippet allows an admin to force a rockthevote.
Useful when you need 1 more player to type rtv. Manual guide: 1: Open rockthevote.sp 2: Find: Code:
RegAdminCmd("sm_rtv_addmap", Command_Addmap, ADMFLAG_CHANGEMAP, "sm_rtv_addmap <mapname> - Forces a map to be on the RTV, and lowers the allowed nominations."); Code:
RegAdminCmd("sm_forcertv", Command_ForceRTV, ADMFLAG_CHANGEMAP, "sm_forcertv - Forces RTV to start"); Code:
public Action:Command_Addmap(client, args) Code:
public Action:Command_ForceRTV(client, args) Premade .sp file: |
Re: [SNIPPET] sm_forcertv - Edit of rockthevote.sp
Great addition.
|
Re: [SNIPPET] sm_forcertv - Edit of rockthevote.sp
There is a typo in the premade .sp file:
RegAdminCmd("sv_forcertv", Command_ForceRTV, ADMFLAG_CHANGEMAP, "sm_forcertv - Forces RTV to start"); Great addition tho :mrgreen: |
Re: [SNIPPET] sm_forcertv - Edit of rockthevote.sp
Forced democracy :D This reminds me of real life...
|
Re: [SNIPPET] sm_forcertv - Edit of rockthevote.sp
Quote:
|
Re: [SNIPPET] sm_forcertv - Edit of rockthevote.sp
By the way if anyone wants this to work with SM 1.1 rtv then replace:
Code:
public Action:Command_ForceRTV(client, args) Code:
public Action:Command_ForceRTV(client, args) |
Re: [SNIPPET] sm_forcertv - Edit of rockthevote.sp
Nice! Is there any way to set rockthevote so that map changes don't take place until the end of the round?
http://module.game-monitor.com/8.9.9...lt/default.png |
Re: [SNIPPET] sm_forcertv - Edit of rockthevote.sp
sm_rtv_changetime 1
in your rtv.cfg, you need the latest release to do that though (SM 1.1) |
All times are GMT -4. The time now is 01:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.