26.01.2013, 19:05
Its looks like I didn't c,osed it right because other scripts are involved in this ..
Sorry for the double I was tying to edit :X
pawn Код:
if(listitem == 1) // They selected the second item - AK-47
{
ClearChatbox(playerid, 4);
SendClientMessage(playerid, COLOR_LIGHTRED, "!!!!!!Wrong!!!!!!");
ClearChatbox(playerid, 1);
SendClientMessage(playerid, COLOR_LIGHTRED, ">> You can visit ******.co.il and read guides about RolePlay! <<");
Kick(playerid);
}
if(listitem == 2) // They selected the third item - Desert Eagle
{
ClearChatbox(playerid, 4);
SendClientMessage(playerid, COLOR_LIGHTRED, "!!!!!!Wrong!!!!!!");
ClearChatbox(playerid, 1);
SendClientMessage(playerid, COLOR_LIGHTRED, ">> You can visit ******.co.il and read guides about RolePlay! <<");
Kick(playerid);
}
}
}
return 1; // We handled a dialog, so return 1. Just like OnPlayerCommandText.
}