An Additon to /siren command
#2

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


Messages In This Thread
An Additon to /siren command - by Harmon - 07.09.2012, 01:39
Re: An Additon to /siren command - by Harmon - 07.09.2012, 02:26
Re: An Additon to /siren command - by XGh0stz - 07.09.2012, 07:08
Re: An Additon to /siren command - by Harmon - 07.09.2012, 12:07
Re: An Additon to /siren command - by XGh0stz - 07.09.2012, 14:55

Forum Jump:


Users browsing this thread: 1 Guest(s)