12-08-2012, 22:37
Hi Guys!!
I have a problem with my plugin dvars ...
as seen use the addon version 204 or 206 ... I can not use another that teknomw3 not support the new versions.
dvars good plugin works for me, but makes some changes and some not .. Easy plugis dvars that goes correctly but I want to make this plugin because it is more complex.
maybe I'm missing something. If I could help, they are grateful ...
My server configured with Easy Dvars Plugin...
Source:
Greetings from Argentina and sorry for my English ..
I have a problem with my plugin dvars ...
as seen use the addon version 204 or 206 ... I can not use another that teknomw3 not support the new versions.
dvars good plugin works for me, but makes some changes and some not .. Easy plugis dvars that goes correctly but I want to make this plugin because it is more complex.
maybe I'm missing something. If I could help, they are grateful ...
My server configured with Easy Dvars Plugin...
Source:
Quote:using System;
using System.Collections.Generic;
using System.Text;
using Addon;
namespace DvarsTest
{
public class Dvars : CPlugin
{
public string justAVariable = "test";
public override void OnPlayerConnect(ServerClient Client)
{
SetDvar("g_teamname_allies", "^4Sobrevivientes");
SetDvar("g_teamname_axis", "^1ZombieS");
SetDvar("g_teamname_spectator", "^2entrando...");
SetDvar("g_scorescolor_allies", "0 0 1 1");
SetDvar("g_scorescolor_axis", "1 0 0 1");
SetDvar("g_ScoresColor_Spectator", "0 2.55 0 .8");
SetDvar("g_ScoresColor_MyParty", "2.55 2.15 0 .8");
SetDvar("g_teamcolor_allies", "0 0 1 1");
SetDvar("g_teamcolor_axis", "1 0 0 1");
SetDvar("g_TeamColor_myParty", "2.55 2.55 0 .8");
SetDvar("g_TeamColor_free", "1.42 1.42 1.42 .8 ");
SetDvar("g_TeamColor_myteam", "0 0 1 1");
SetDvar("g_TeamColor_enemyteam", "1 0 0 1");
SetDvar("g_TeamColor_spectator", "0 2.55 0 .8");
SetDvar("g_teamTitleColor_MyTeam", "1 0 0 1");
SetDvar("g_teamTitleColor_EnemyTeam", "0 0 1 1");
SetDvar("g_scoreboardfont", "0 0 0 .8");
SetDvar("g_ColorBlind_myteam", "0 0 1 1");
SetDvar("g_ColorBlind_enemyteam", "1 0 0 1");
SetDvar("g_scoreboardmycolor", "0 1.28 0 .8");
SetDvar("g_scoreboardMyColor", "0 1.28 0 .8");
SetDvar("cl_packetdup", "0");
SetDvar("scr_player_sprinttime", "40");
SetDvar("perk_sprintMultiplier", "10");
SetDvar("g_scoreboardpingtext", "0");
SetDvar("lowAmmoWarningNoReloadColor1", "Valor");
SetDvar("lowAmmoWarningNoReloadColor2", "Valor");
SetDvar("lowAmmoWarningColor1", "Valor");
SetDvar("lowAmmoWarningColor2", "Valor");
SetDvar("lowAmmoWarningNoAmmoColor1", "Valor");
SetDvar("lowAmmoWarningNoAmmoColor2", "Valor");
//SetDvar("sad", "value");
//SetDvar("sdd", "value");
}
}
}
Greetings from Argentina and sorry for my English ..