PDA

View Full Version : Problem with turfs


BrooklyN1995
19/04/2016, 09:11 PM
Hello I apologize in advance for my English. I'll be glad if you help me. So let's get started. Problem is I have the following command which prohibits to start the Turfattack unless you have at least 5 members. I want by command to allow himself to Turf without people from your Gang through command to forbid it, but I can not do it! This is my command
nujniigrachi += 1;
}
}
}
if(nujniigrachi < 5)
{
SendClientMessage(playerid, COLOR_GRAD1, "Трябва минимум 5 човека от твоята банда/мафия да бъдат в територията!");
return 1;
}

OmegaKiller72
19/04/2016, 09:21 PM
else
{
....code to start turf without check if(nujniigrachi < 5)
return 1;
}