Code:
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.

---------------------------------------------------
My new project: www.sfc.de.to
My old project: www.littlesubmarine.de.to
My Youtubechannel: http://www.youtube.com/user/darkchrisp#p/a/u/0/5idMXmCDdmA
---------------------------------------------------