Command /stopparty
#2

If you explain it better I might be able to help you. Do you mean like to make the objects disappear?

Try something like this, this is what I do, basically I mark the FIRST object in the script with firstObject, then the very last one with lastObject. that way when I use the cmd to delete all the objects, it deletes those 2 marked objects, and anything between it
Код HTML:
new firstObject, lastObject;

CMD:whatever(playerid) {
	for(new o = firstObject; o<= lastObject; o++) {
		DestroyDynamicObject(0);
	}
	return 1;
}
Reply


Messages In This Thread
Command /stopparty - by Jimmi - 20.10.2015, 22:33
Re: Command /stopparty - by Jay_Dixon - 20.10.2015, 22:56

Forum Jump:


Users browsing this thread: 1 Guest(s)