Help with teams!
#7

If you're using pawno to compiler,you should add ';' when calling function.
And your SetPlayerTeamFromClass is completely error.
Please use swith&case instead of if&else
eg
pawn Код:
if(classid == 0)bla...
else bla...//this is the error
else bla...
//edited to
switch(classid){
 case 0:bla..
 case 1:bla..
 case 2:bla..
 .
 .
 .
}
Reply


Messages In This Thread
Help with teams! - by coole210 - 06.06.2009, 21:12
Re: Help with teams! - by Vince - 06.06.2009, 21:13
Re: Help with teams! - by coole210 - 06.06.2009, 21:24
Re: Help with teams! - by cigo - 06.06.2009, 21:26
Re: Help with teams! - by coole210 - 06.06.2009, 21:26
Re: Help with teams! - by cigo - 06.06.2009, 21:56
Re: Help with teams! - by yezizhu - 06.06.2009, 22:47
Re: Help with teams! - by coole210 - 06.06.2009, 23:41
Re: Help with teams! - by Luka P. - 06.06.2009, 23:45
Re: Help with teams! - by coole210 - 06.06.2009, 23:52

Forum Jump:


Users browsing this thread: 1 Guest(s)