Hey Forums,
i made a funktion, lets name it ActiveButtons(whichPlayer,type). whichPlayer is of course an integer, while type is a string. Now no matter if i use:
i always get a Syntax Error. If I remove the type-Parameter or change it's type everything works fine, so i wonder what i need to do to use a string as a parameter.
Hey Forums, i made a funktion, lets name it ActiveButtons(whichPlayer,type). whichPlayer is of course an integer, while type is a string. Now no matter if i use:
gf_ActiveButtons(1,asdf)
gf_ActiveButtons(1,"asdf")
gf_ActiveButtons(1,'asdf')
i always get a Syntax Error. If I remove the type-Parameter or change it's type everything works fine, so i wonder what i need to do to use a string as a parameter.
"asdf" is correct.
If you get a syntax error then you probably did something else wrong.