Author Topic: Anti bravo little scripting error  (Read 865 times)

0 Members and 1 Guest are viewing this topic.

Offline MrHamsTR

  • Soldier
  • **
  • Posts: 209
  • One day, everything will end..
Anti bravo little scripting error
« on: July 18, 2014, 03:23:29 pm »
I cant fix it why I dont know :S
bravo -> [Error] (37:76): Invalid number of parameters
Code is here pastebin: http://pastebin.com/DFfXRCjJ
Is there anybody can write script?
Good, go and play soldat ^^

Offline Shoozza

  • Retired Soldat Developer
  • Veteran
  • ******
  • Posts: 1632
  • Soldat's Babysitter
    • Website
Re: Anti bravo little scripting error
« Reply #1 on: July 18, 2014, 04:09:52 pm »
Line 37 is:
BravoMaps := Split(LowerCase(ReadFile('scripts/MoveTeam/bravomaps.txt'))),Chr(13); + Chr(10));

Ill write it differently for you:
BravoMaps := Split(
                             LowerCase(
                                             ReadFile(
                                                          'scripts/MoveTeam/bravomaps.txt'
                                                         )
                                            )
                            )
                            ,Chr(13); + Chr(10));

Maybe you see the mistake better now ;)
Rules
Tools: ARSSE - SARS - SRB - chatMod

Offline MrHamsTR

  • Soldier
  • **
  • Posts: 209
  • One day, everything will end..
Re: Anti bravo little scripting error
« Reply #2 on: July 18, 2014, 04:52:27 pm »
Yeah I deleted that script from server because this error is everywhere in script :D I cant fix them, it is not needed already.
I'm looking for working %100 vote script, I found one but it doesnt work, 0.000000 zeros and vote doesnt working :) Type !nextmap or not, it is always %0.000000 / %51
I need change it to new one.
Is there anybody can write script?
Good, go and play soldat ^^