Example #1
0
cObject::cObject()
{
	setCurrentName("#");
	setSecondaryName("#");
	serial.serial32 = INVALID;
	multi_serial.serial32 = INVALID;
	OwnerSerial.serial32 = INVALID;
	old_position = Loc(0,0,0,0);
	position = Loc(0,0,0,0);
	ScriptID = 0;
	position.dispz=0;
	position.x=0;
	position.y=0;
	position.z=0;
	color = color_old = 0;
	id = id_old = 0;

	//amxEvents = 0;
	tempfx = NULL;
	disabledmsg=NULL;
	disabled=0;
	spawnserial.serial32 = INVALID;
	spawnregion.serial32 = INVALID;
	race=INVALID;
	gender=INVALID;

}
Example #2
0
cObject::cObject() : cEventThroewr(eventsNumber())
{
	setCurrentName("");
	setSecondaryName("");
	serial.serial32 = INVALID;
	multi_serial.serial32 = INVALID;
	OwnerSerial.serial32 = INVALID;
	old_position = sLocation(0,0,0);
	position = sLocation(0,0,0);
	ScriptID = 0;

	color = color_old = 0;
	id = id_old = 0;

	//amxEvents = 0;
	tempfx = NULL;
	disabledmsg=NULL;
	disabled=0;
}