Hi, i need help again
I have my string array: szText[192]
I put some words in the array using:
PHP Code:
public RegisterText(id)
{
client_cmd(id, "messagemode Register_Text")
client_print(id, print_center, "Write String")
set_hudmessage(255, 0, 0, 0.0, 0.0, 0, 0.1, 4.0, 0.01, 0.01, -1)
ShowSyncHudMsg(id, g_MsgSync2, "^n^n^n Write String")
return PLUGIN_CONTINUE;
}
public Text_register(id)
{
read_args( szText, 191 )
remove_quotes( szText )
trim ( szText )
copy( Text[id], charsmax( Text ), szText )
client_print( id, print_chat, "Tu string es: %s", Text[id] )
RegisterPassword(id)
return PLUGIN_CONTINUE;
}
Now i want to put each 2 words of the string in a independent array but i donīt have any idea to do this
I want to do something like that
He --> Array1
ll ---> Array2
o^0 --->Array3
__________________