Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Dvars Plugin Help..
#1
Brick 
Hi Guys!! Big Grin

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 ...Blush

My server configured with Easy Dvars Plugin...

[Image: Q1UV4.jpg]

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 ..


Attached Files
.rar   DvarsInfectado_proyect.rar (Size: 16.69 KB / Downloads: 29)
Reply

#2
As i don't have your addon version i'm not even sure if this will work, little unsure if you just wanted the .dll or needed the code editing. However here is the .dll in the format you posted.

I'm assuming it still done with framework 3.0, yours was 3.5.

Ok out of curiosity i tried it, the team names changed ok, sprint worked i have no idea about the rest.


Attached Files Image(s)
   

.rar   Dvarsinfectadodadwawaa.rar (Size: 2.2 KB / Downloads: 23)
[Image: b_560_95_1.png]


[Image: b_560_95_1.png]

Reply

#3
(12-09-2012, 00:59)hillbilly Wrote: As i don't have your addon version i'm not even sure if this will work, little unsure if you just wanted the .dll or needed the code editing. However here is the .dll in the format you posted.

I'm assuming it still done with framework 3.0, yours was 3.5.

Ok out of curiosity i tried it, the team names changed ok, sprint worked i have no idea about the rest.

no man ...
did not work...
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Wink Plugin with !ban !kick and !tampban clemi555 3 4,161 11-09-2013, 09:21
Last Post: clemi555
  AntiNoScope Plugin clemi555 5 4,744 11-08-2013, 19:13
Last Post: clemi555
  [Release] Bunker Plugin 1.3 archit 68 41,510 10-30-2013, 11:59
Last Post: clacki
  Help Modifying plugin maverigh 5 5,667 10-19-2013, 10:29
Last Post: Nekochan
Shocked [Request] Switch plugin axel-le-meilleur 6 5,176 10-19-2013, 06:59
Last Post: iRoNinja
  [Release] Yurio Map Plugin Yurio 101 62,209 09-26-2013, 13:38
Last Post: First_Semyon
Brick [Release] v1.1 ChangeMap/NextMap Plugin without any configuration milchshake 23 18,621 09-23-2013, 13:18
Last Post: SgtLegend
  Help !say Plugin (like the !say from GodPlugin) Hallla 0 2,711 09-13-2013, 09:31
Last Post: Hallla
Rainbow [Release] MW3: Random Weapon Plugin V1 Nekochan 50 33,263 09-11-2013, 15:11
Last Post: EnVi Sweden Rocks
  Search Plugin Fluid Killcam N3xT_974 1 3,063 09-10-2013, 20:27
Last Post: Nekochan

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.