ItsMods
Help compile errore - 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 compile errore (/Thread-Help-compile-errore.html)

Pages: 1 2


compile errore - raminr63 - 09-25-2012

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;
}
----------------------------------------------------------


RE: compile errore - zxz0O0 - 09-25-2012

Remove addon.dll as reference, download newest addon.dll and add it again as reference.


RE: compile errore - raminr63 - 09-25-2012

i know in newest there is no error.
But i need to replace it with other things ?!( i use 1.204 version)


RE: compile errore - OrangePL - 09-25-2012

La errore di compil Troll


RE: compile errore - surtek - 09-25-2012

(09-25-2012, 19:38)OrangePL Wrote: La errore di compil Troll

[Image: stock-photo-8512592-french-thinking-cap.jpg]


RE: compile errore - Pozzuh - 09-25-2012

Moderator helping the derail


RE: compile errore - Rendflex - 09-25-2012

Jariz. We need your sunglasses.

Now.


RE: compile errore - JariZ - 09-25-2012

And explosions!


RE: compile errore - raminr63 - 09-26-2012

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


RE: compile errore - JariZ - 09-26-2012

(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