Hallo Community,
habe Fette Probleme mit meinen bots im script
forward bot();
forward bot2();
forward bot3();
forward bot4();
forward bot5();
forward bot6();
forward bot7();
SetTimer("bot",1000,0);
public bot()
{
ConnectNPC("[BOT]PanzerBot","armypanzerbot");
ConnectNPC("[BOT]ZugBot","SAzugbot");
ConnectNPC("[BOT]Shamal","LStoSFshamalBOT");
ConnectNPC("[BOT]AT400","LStoLVat400BOT");
SetTimer("bot2",2000,0);
return 1;
}
public bot2()
{
ConnectNPC("[BOT]OpiumDealer","opiumdealer");
ConnectNPC("[BOT]DKDealer","dkdealer");
ConnectNPC("[BOT]F.NinowBot","SFtrambot");
ConnectNPC("[BOT]C4Transport","ARMYtransport");
SetTimer("bot3",2000,0);
return 1;
}
public bot3()
{
ConnectNPC("[BOT]Bank","bankbot");
ConnectNPC("[BOT]Antibot","antibot");
ConnectNPC("[BOT]StadthalleLS","stadthallenbot");
ConnectNPC("[BOT]StadthalleSF","stadthallenbot");
SetTimer("bot4",2000,0);
return 1;
}
public bot4()
{
ConnectNPC("[BOT]Prister","pristerbot");
ConnectNPC("[BOT]DruckereiBot","DruckereiBot");
ConnectNPC("[BOT]TintenBot","TintenBot");
ConnectNPC("[BOT]SchmugglerBS","SchmugglerBS");
SetTimer("bot5",2000,0);
return 1;
}
public bot5()
{
ConnectNPC("[BOT]SchmugglerLV","SchmugglerLV");
ConnectNPC("[BOT]SchmugglerSF","SchmugglerSF");
ConnectNPC("[BOT]ShopManLV","ShopManLV");
ConnectNPC("[BOT]HackerHelper","HackerHelper");
SetTimer("bot6",2000,0);
return 1;
}
public bot6()
{
ConnectNPC("[BOT]LuigiSF","LuigiSF");
SetTimer("bot7",5000,0);
return 1;
}
public bot7()
{
ServerStarterBots = 1;
return 1;
}
aber bekomme errors mit den bots
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5061) : warning 217: loose indentation
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5061) : error 029: invalid expression, assumed zero
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5061) : error 004: function "bot" is not implemented
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5070) : warning 225: unreachable code
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5070) : error 029: invalid expression, assumed zero
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5070) : error 004: function "bot2" is not implemented
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5079) : warning 225: unreachable code
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5079) : error 029: invalid expression, assumed zero
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5079) : error 004: function "bot3" is not implemented
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5088) : warning 225: unreachable code
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5088) : error 029: invalid expression, assumed zero
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5088) : error 004: function "bot4" is not implemented
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5097) : warning 225: unreachable code
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5097) : error 029: invalid expression, assumed zero
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5097) : error 004: function "bot5" is not implemented
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5106) : warning 225: unreachable code
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5106) : error 029: invalid expression, assumed zero
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5106) : error 004: function "bot6" is not implemented
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5112) : warning 225: unreachable code
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5112) : error 029: invalid expression, assumed zero
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5112) : error 004: function "bot7" is not implemented
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5121) : warning 225: unreachable code
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(5121) : warning 217: loose indentation
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(12982) : warning 204: symbol is assigned a value that is never used: "oldtime"
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(28107) : warning 217: loose indentation
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(28107) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(31529) : warning 225: unreachable code
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(32872) : warning 225: unreachable code
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(32897) : warning 225: unreachable code
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(32960) : warning 225: unreachable code
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(32990) : warning 225: unreachable code
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(33028) : warning 225: unreachable code
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(33056) : warning 225: unreachable code
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(33114) : warning 225: unreachable code
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(45890) : warning 204: symbol is assigned a value that is never used: "string"
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(56982) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(57016) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(57050) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(57084) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(57118) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(57152) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(57186) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(57220) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(57254) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(57288) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(57322) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(57356) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(57390) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(57424) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(58809) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(58809) : warning 204: symbol is assigned a value that is never used: "string"
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(58803) : warning 204: symbol is assigned a value that is never used: "string"
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(73783) : warning 204: symbol is assigned a value that is never used: "string"
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(79840) : warning 217: loose indentation
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(81936) : warning 219: local variable "pLevel" shadows a variable at a preceding level
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(81936) : warning 203: symbol is never used: "pLevel"
C:\Users\Gigammc\Documents\Script Test\gamemodes\syntroprp.pwn(88560) : warning 203: symbol is never used: "ImmobilienTimer"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
14 Errors.
Alles anzeigen
und diese Fehler Erklärung hat auch kein sinn wenn man es schon im script stehen hat
Du versuchst die Funktion "bot" zu nutzen, obwohl es diese nirgendwo gibt.
Du kannst durch "forward" & "public" eine derartige Funktion aber noch erstellen.
Wäre schön wenn ihr mir helfen könntet
Mit Freundlichen Grüßen
Dragonfly
/Edit