mirror of
https://github.com/Resxt/Plutonium-IW5-Scripts.git
synced 2025-06-30 08:11:52 +00:00
mapvote 1.0.2
Added the possibility to have no maps at all in the mapvote_maps dvar. This is useful for when you want to organise your maps dvar and you don't want any MW3 map for example
This commit is contained in:
@ -79,7 +79,14 @@ InitVariables()
|
||||
|
||||
foreach (mapDvar in StrTok(GetDvar("mapvote_additional_maps_dvars"), ":"))
|
||||
{
|
||||
mapsString = mapsString + ":" + GetDvar(mapDvar);
|
||||
if (mapsString == " ")
|
||||
{
|
||||
mapsString = GetDvar(mapDvar);
|
||||
}
|
||||
else
|
||||
{
|
||||
mapsString = mapsString + ":" + GetDvar(mapDvar);
|
||||
}
|
||||
}
|
||||
|
||||
mapsArray = StrTok(mapsString, ":");
|
||||
|
Reference in New Issue
Block a user