Help with errors
#1

i dont know what wrong....

Код:
if(dialogid == MUSIC_FR)
	{
	    if(response)
	    for(new i = 0 < MAX_PLAYERS; 1++)
	    {
	        if(listitem == 0)
	        {
	            PlayAudioStreamForPlayer(i, "http://k002.kiwi6.com/hotlink/3mpmtejfsv/flo_rida_-_i_cry.mp3");
			}
			if(listitem == 1)
			{
			    PlayAudioStreamForPlayer(i, "http://k002.kiwi6.com/hotlink/tjht7q5i0u/flo_rida_-_whistle.mp3");
			}
			if(listitem == 2)
			{
			    PlayAudioStreamForPlayer(i, "http://k002.kiwi6.com/hotlink/1uea2n229q/flo_rida_-_wild_ones_ft._sia.mp3");
				}
			}
		return 1;
}
errors:

Код:
C:\Users\Mor\Desktop\CGRP v1.1\gamemodes\CGRP.pwn(74203) : error 022: must be lvalue (non-constant)
line 74203:

Код:
for(new i = 0 < MAX_PLAYERS; 1++)
my defines:

Код:
#define MUSIC_FR 5004 // Florida
Reply


Messages In This Thread
Help with errors - by Lidor124 - 10.09.2013, 12:28
Re: Help with errors - by Konstantinos - 10.09.2013, 12:31
Re: Help with errors - by Lidor124 - 10.09.2013, 12:43

Forum Jump:


Users browsing this thread: 1 Guest(s)