22.09.2012, 16:58
Hello. I am making a world event command, and I am making it so a bridge will fall appart, and LSFMD and News Faction will be notified. This is part of my command:
However, it only removes the bridge for player id 0.
What's wrong?
pawn Код:
for(new i;i<MAX_PLAYERS;i++)
{
if(strval(params) == 1)
{
/* Broken Bridge */
RemoveBuildingForPlayer(i, 3991, 1608.1953, -1721.8047, 26.0000, 0.25);
RemoveBuildingForPlayer(i, 4043, 1608.1953, -1721.8047, 26.0000, 0.25);
What's wrong?