31.01.2011, 11:53
The problem is basic flow of logic flaw. Your script is adding a player and then returning without even checking how many players are joined.
pawn Код:
if(IsBIKEMADNESSactive == 0)
{
SendClientMessage(playerid,RED,"You have join the bike madness");
IsPlayersInBikeMadness += 1;
SetPlayerPos(playerid,-1071.4938,-692.1391,368.5030);
if(IsPlayersInBikeMadness >= 10 )
{
IsBIKEMADNESSactive = 1;
}
return 1;
} else {
SendClientMessage(playerid,RED,"There is all redey a group in the bike madness");
return 1;
}