20.12.2014, 15:33
//enter derby
and use this to block if derby is full
Change that 14 to yours
pawn Код:
new PositionsDerby = random(sizeof(DerbyPos));;
SetVehiclePos(playerid, DerbyPos[PositionsDerby][0], DerbyPos[PositionsDerby][1], DerbyPos[PositionsDerby][2]);
pawn Код:
if ( PositionsDerby >= 14) return Yourfucnctionhere; // use your function sendclientmsg or anything