07.09.2012, 02:26
Sorry if this is double posting or against the rules, I would like to add that if its possible to edit the /siren off command to make both of the last 2 objects to disappear because they are not going away.. here is the /siren off command
Код:
else if(strcmp(siren, "off", true, strlen(siren)) == 0)
{
if(Siren[VID] == 1)
{
Siren[VID] = 0;
GetPlayerName(playerid, sendername, sizeof(sendername));
DestroyObject(SirenObject[VID]);
DestroyObject(SirenObject[VID]);
DestroyObject(SirenObject[VID]);
format(string, sizeof(string), "* %s takes down the siren.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else { return SendClientMessage(playerid, COLOR_GREY, "This vehicle doesn't have siren!"); }
}
} else { SendClientMessage(playerid, COLOR_GREY, " You are not part of a Team!"); }
}
return 1;
}
