while(1)
{
if (key_q)
{
v_selected_wpn += 1;
v_selected_wpn %= 2;
if (v_selected_wpn == 1)
{
STRING* str_selected_number = "2";
}
if (v_selected_wpn == 0)
{
STRING* str_selected_number = "1";
}
wait(1); ///////////////////////////////////////////// you forgot wait(1); ?
}
1. Did you forget a wait(1); ???
2. What happens when you run your script ???
Last edited by chrisp1; 06/11/11 12:46.