Remove Roadblock
#1

Hi.I did command /rrball,command which remove all road blocks.The command is this
Код HTML:
dcmd_rrball(playerid,params[])
{
	#pragma unused params
	new string [126];
	if ((gTeam[playerid] <=6) && (gTeam[playerid] > 0))
	{   for(new i=0;i<=sizeof(block);i++)
            DestroyObject(i);
            GameTextForPlayer(playerid,"~w~RoadBlock ~r~all removed",3000,1);
            GetPlayerName(playerid,pName,32);
	    format(string,sizeof string,"%s remove all roadblock",pName);
	    return TeamChat(string);
	}
	return 1;
}
and works perfectly but I want to do and command / rub which was removed one by one roadblock.I don't know what to change in this command to remove one by one.Can someone help me?If you need more tell me anything I post.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)