zerak, thank for DisplayVote.sp and completion of a code mapchooser.sp, I used the most part from a code created by you. But as to a sound I have solved this problem easier, used standard sounds mani_admin as at the majority of users they already are. In section of processing rtv I have removed a part of a code, prevented to deduce result of voting. If you not against it is possible to try to decide a problem of creation and check of a code in common though I only and begin acquaintance with
скриптами sourcenod, it is interesting to me...
sound files
I have organized loading as follows:
Quote:
//added
#include <sdktools>
..........
..........
public OnStartMap()
{
AddFileToDownloadstable("sound/admin_plugin/startyourvoting.mp3");//added
AddFileToDownloadstable("sound/admin_plugin/endofvote.mp3");//added
PrecacheSound("admin_plugin/startyourvoting.mp3");//added
PrecacheSound("admin_plugin/endofvote.mp3");//added
}
..........
..........
..........
your code-->-->
..........
EmitSoundToAll("admin_plugin/endofvote.mp3");//added
|
My file
mapchuser with addition of your
skript for use in standart sourcemod environment
: