ItsMods

Full Version: compile errore
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi

can someone help me about this problem :


Error 1 'Addon.CPlugin' does not contain a definition for 'PlayerSuicide'

---------------------------------------

public bool warnPlayer(ServerClient target, string reason)
{
int num = 0;
reason = reason.Trim();
reason = this.reasonParser(reason);
string message = "";
if (this.playerWarnings.TryGetValue(target.XUID, out num))
{
num++;
if (num >= this.kickWarnings)
{
message = base.GetServerCFG("Admin", "warnkickmessage", "<playername> was kicked for <reason>").Replace("<playername>", target.Name).Replace("<reason>", reason).Replace("<warningcount>", num.ToString());
base.ServerSay(message, true);
base.PlayerSuicide(target.ClientNum);
this.playerWarnings.Remove(target.XUID);
this.warningTime.Remove(target.XUID);
this.playerWarnings.Add(target.XUID, 0);
return true;
}
----------------------------------------------------------
Remove addon.dll as reference, download newest addon.dll and add it again as reference.
i know in newest there is no error.
But i need to replace it with other things ?!( i use 1.204 version)
La errore di compil Troll
(09-25-2012, 19:38)OrangePL Wrote: [ -> ]La errore di compil Troll

[Image: stock-photo-8512592-french-thinking-cap.jpg]
Moderator helping the derail
Jariz. We need your sunglasses.

Now.
And explosions!
here you just take a party Sad
I have a problem and now see your question (with spam just you want increase your point's Sad )

pleas guys put away joking and help me!!!
(09-25-2012, 18:46)raminr63 Wrote: [ -> ]i know in newest there is no error.
But i need to replace it with other things ?!( i use 1.204 version)

No, You are using a older version.
The most up to date version is v1.414
Stop complaining because you already got the answer;
Update addon.dll
Pages: 1 2