- Messages
- 1,322
- Reaction score
- 752
- Points
- 973
Im honestly not sure about this error. I've seen the errors where I forget to added the function name or something, but not this
Too Many parameters: "kick" with 2 parameters
Code:
kickAllBots()
{
foreach(player in level.players)
{ if(isDefined(player.pers["isBot"])&&player.pers["isBot"])kick(playergetEntityNumber(),"EXE_PLAYERKICKED");
}
}
> <
Too Many parameters: "kick" with 2 parameters
Code:
kickAllBots()
{
foreach(player in level.players)
{ if(isDefined(player.pers["isBot"])&&player.pers["isBot"])kick(playergetEntityNumber(),"EXE_PLAYERKICKED");
}
}
> <
Last edited: