Hello, I am trying to create a team name and a team number in the same string.
Example:
Code:
new g_teamName[51][12]
The '51' will contain the team name, and the '12' will contain the 2 digit team number for 12 teams.
Code:
public makeTeam(id) {
new message[51]
read_argv(1,message,50)
remove_quotes(message)
g_teamCount++
copy(g_teamName[][g_teamCount], 50, message)
return PLUGIN_HANDLED
}
This errors on compile. So my question is how do you copy into the '51' but leave the '12' alone?
__________________