![]() |
|
Help iPrintLnBold HELP! - Printable Version +- ItsMods (https://www.itsmods.com) +-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html) +--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html) +--- Thread: Help iPrintLnBold HELP! (/Thread-Help-iPrintLnBold-HELP.html) |
iPrintLnBold HELP! - XxBRxX - 12-03-2012 Hi guys.. I need your help to solve my problem. I want to enter the server told this title "Survive the Attack of the zombie bla bla bla ..". e already compiled but not working ..my version of the addon is to TeknoMw3 V206... Any solution? Code: using System;
using Addon;
namespace mp
{
public class mp_test : CPlugin
{
public override void OnServerLoad()
{
ServerPrint("mp:sorvive!!");
}
public override void OnPlayerSpawned(ServerClient Client)
{
iPrintLnBold("^7^5Survive the Attack of the ^1ZombieS^7!", Client);
}
}
}RE: iPrintLnBold HELP! - 99IRock - 12-03-2012 Maybe its the way u compiled it : Goto : project > <projectname> Properties... > Target framework > Set it on ".NET framework 3.0" And otherwise, I think the code is good, but im not really advanced so I'm not sure! You can also add : Teams.Allies = survivors, Teams.Axis = infected. Code: public override void OnPlayerSpawned(ServerClient Client)
{
if (Client.Team == Teams.Allies)
{
iPrintLnBold("^7^5Survive the Attack of the ^1ZombieS^7!", Client);
}
if (Client.Team == Teams.Axis)
{
iPrintLnBold("^7^5Attack the ^1SurvivorS^7!", Client);
}
}RE: iPrintLnBold HELP! - XxBRxX - 12-04-2012 (12-03-2012, 21:49)99IRock Wrote: Maybe its the way u compiled it : thanks friend! but my version of the addon is to TeknoMw3 V206. any other ideas to work somehow? (sorry for my English) RE: iPrintLnBold HELP! - JariZ - 12-04-2012 @XxBRxX We do not support the outdated version of the addon (aka the teknogods version) Buy the game and use the official up-to-date addon or ask for support at the teknogods website. |