');
foreach($_POST['goodRol es'] as $selectedOption) {
fwrite($rolefile, ''.$selectedOption.'');
};
fwrite($rolefile, '<"');
#Convars
$f_convars = '$convars = "Normal Role Convars (also found in ULX):
'.$_POST['gconvars'].'
Rolespecific Convars:
'.$_POST['cconvars'].'
"';
fwrite($rolefile, $f_convars);
#
# Credits
#
#The Steam URL to your addon
$f_steam = $_POST['steam'];
fwrite($rolefile, $f_steam);
#The Source URL to your addon
$f_source = $_POST['source'];
fwrite($rolefile, $f_source);
#Creator of the Addon
$f_author = $_POST[''];
fwrite($rolefile, $f_author);
#Creatorlink
$f_authorurl = $_POST[''];
fwrite($rolefile, $f_authorurl);
# Credittext (can use the above variables)
$f_ctext = $_POST['credits'];
fwrite($rolefile, $f_ctext);
fclose($rolefile);
} else {
echo 'INVALID ROLENAME';
}
?>