SA-MP Forums Archive
Problem with turfs - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problem with turfs (/showthread.php?tid=605471)



Problem with turfs - BrooklyN1995 - 19.04.2016

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;
}



Re: Problem with turfs - OmegaKiller72 - 19.04.2016

else
{
....code to start turf without check if(nujniigrachi < 5)
return 1;
}