![Smile :)](./images/smilies/icon_smile.gif)
for now i'm reading parts of the amxx wiki and the pawn docs
Moderator: Forum Moderator
Code: Select all
if g_array == text {
Code: Select all
new g_array[3]
g_array[0] = "text"
g_array[1] = "text2"
g_array[2] = "text3"
if (g_array[0] == "text")
{
// text
}
else if (g_array[1] == "text2")
{
// text2
}
else if (g_array[2] == "text3")
{
// text3
}
else
{
// no text...
}