Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help iPrintLnBold HELP!
#1
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);

        }
    }
}

#2
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);
}

        }
[Image: b_560_95_1.png]
[Image: hax0r3ez.gif]

#3
(12-03-2012, 21:49)99IRock Wrote: 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);
}

        }

thanks friend!
but my version of the addon is to TeknoMw3 V206.
any other ideas to work somehow?
(sorry for my English)

#4
@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.



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Functions iPrintLnBold() [Z00MBY] Alex 7 5,901 04-16-2012, 08:44
Last Post: [Z00MBY] Alex

Forum Jump:


Users browsing this thread:
1 Guest(s)

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